You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
332 B
11 lines
332 B
namespace NzbDrone.Common.Messaging
|
|
{
|
|
/// <summary>
|
|
/// Enables loosely-coupled publication of events.
|
|
/// </summary>
|
|
public interface IMessageAggregator
|
|
{
|
|
void Publish<TEvent>(TEvent message) where TEvent : IEvent;
|
|
void Execute<TCommand>(TCommand message) where TCommand : ICommand;
|
|
}
|
|
} |