namespace NzbDrone.Common.Messaging { /// /// Enables loosely-coupled publication of events. /// public interface IMessageAggregator { void PublishEvent(TEvent @event) where TEvent : IEvent; void PublishCommand(TCommand command) where TCommand : ICommand; } }