public bool Shutdown(HostControl hostControl) { Log.Trace($"{nameof(Service.WinService)} Shutdown command received."); _processNotification.ContinueProcessing = false; _processNotification = null; return(true); }
public WinService(ILog logger) { // IocModule.cs needs to be updated in case new paramteres are added to this constructor if (logger == null) { throw new ArgumentNullException(nameof(logger)); } Log = logger; _processNotification = new ProcessNotification(Log); }
public void Register <TMessage>(IMessageContextModelManager ctxModelManager, ProcessNotification processNotification) { }
public NotificationPipeline(IMessagePump pump, LoadContextModel load, ProcessNotification process) { _pump = pump; _load = load; _process = process; }
public void Register <TMessage>(LoadContextModel load, ProcessNotification processNotification, UpdateContextModel update) { _broadcast.Subscribe(update); _pipelines[typeof(TMessage)] = new NotificationPipeline(this, load, processNotification); }