internal override void OnShutDown(object target, object sender, EventArgs e)
            {
                WinEventHandler winEventHandler = (WinEventHandler)target;

                winEventHandler.Stop();
            }
 public WinEventHandlerShutDownListener(WinEventHandler target)
     : base(target, ShutDownEvents.DispatcherShutdown)
 {
 }