Esempio n. 1
0
 //注册默认监听器
 private void RegisterListners()
 {
     //ListenerManager.Register(new AopListener());//Aop监听器
     //ListenerManager.Register(new DisposalListener());//Dispose监听器
     //ListenerManager.Register(new InitializationListener());//初始化监听器
     //ListenerManager.Register(new SupportInitializeListener());//Support初始化监听器
     //ListenerManager.Register(new StartableListener());//启动停止监听器
     //ListenerManager.Register(new SubscribeListener());//消息总线的订阅监听器
     ListenerManager.Register(new InjectionListener(reinjectionManager));//注入监听器
     //ListenerManager.Register(new MemberExportListener());//组件成员导出与注入监听器
     //ListenerManager.Register(new AppSettingInjectionListener());//AppSetting注入监听器
 }