Пример #1
0
        private void PublishMessage()
        {
            _prepareTerminatedModule = _modules.Peek();
            _logger.Trace($"begin stop {_prepareTerminatedModule.ToString()}...");
            MessageHub.Instance.Publish(new TerminationSignal(_prepareTerminatedModule));

            _timer.Start();
        }
Пример #2
0
 public TerminationSignal(TerminatedModuleEnum module)
 {
     Module = module;
 }
Пример #3
0
 public TerminatedModule(TerminatedModuleEnum module)
 {
     Module = module;
 }