renamed EventAggregator to MessageAggregator

This commit is contained in:
Keivan Beigi 2013-04-23 18:56:00 -07:00
commit 7ae9e79540
53 changed files with 161 additions and 125 deletions

View file

@ -0,0 +1,11 @@
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;
}
}