示例#1
0
        public override void Dispose()
        {
            base.Dispose();

            foreach (IViewModel viewModel in Items)
            {
                viewModel.Dispose();
            }

            serviceDispatcher.Unsubscribe <INavigationService>(this);
            serviceDispatcher.Unsubscribe <IDetachService>(this);
        }
示例#2
0
 public virtual void Stop()
 {
     serviceDispatcher.Unsubscribe <T>(this as T);
 }
示例#3
0
        public override void Dispose()
        {
            base.Dispose();

            serviceDispatcher.Unsubscribe <IMapService>(this);
        }
示例#4
0
        public virtual void Shutdown()
        {
            serviceDispatcher.Unsubscribe <IShellNavigationService>(this);

            pluginProvider.ShutdownPlugins();
        }