public override void Dispose() { base.Dispose(); foreach (IViewModel viewModel in Items) { viewModel.Dispose(); } serviceDispatcher.Unsubscribe <INavigationService>(this); serviceDispatcher.Unsubscribe <IDetachService>(this); }
public virtual void Stop() { serviceDispatcher.Unsubscribe <T>(this as T); }
public override void Dispose() { base.Dispose(); serviceDispatcher.Unsubscribe <IMapService>(this); }
public virtual void Shutdown() { serviceDispatcher.Unsubscribe <IShellNavigationService>(this); pluginProvider.ShutdownPlugins(); }