public virtual void Process(RestartAppArgs args) { ManualResetEventSlim monitor = HatcherGuide <ISingleInstanceMonitor> .Instance.EnqueueMonitorDisabling(); monitor.Wait(); }
public virtual void Process(RestartAppArgs args) { ManualResetEventSlim monitor = HatcherGuide<ISingleInstanceMonitor>.Instance.EnqueueMonitorDisabling(); monitor.Wait(); }
public virtual void Process(RestartAppArgs args) { System.Diagnostics.Process.Start(Application.ResourceAssembly.Location, string.Join(" ", args.ParamsToAdd)); Application.Current.Shutdown(); }