/// <inheritdoc /> public void EmitStopMessage(AdomdMessage message) { if (_messageBroker != null && _executionTimer != null && _timerTimeSpan != TimeSpan.Zero) { _messageBroker.Publish(message.AsTimedMessage(_executionTimer.Stop(_timerTimeSpan))); _timerTimeSpan = TimeSpan.Zero; } }
/// <inheritdoc /> public void EmitStartMessage(AdomdMessage message) { if (_messageBroker != null && _executionTimer != null) { _timerTimeSpan = _executionTimer.Start(); _messageBroker.Publish(message.AsTimedMessage(_timerTimeSpan)); } }