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