Prism 框架中使用IEventAggregator事件聚合器简单实现ViewModel之间的通讯
1.在项目中添加EventAggregator类库,添加EventAggregatorRepository类和GetInputMessages类。using Microsoft.Practices.Prism.PubSubEvents;using Microsoft.Practices.Prism.Regions;using System;namespace EventAggregator
原创
2017-07-10 12:37:32 ·
4501 阅读 ·
0 评论