1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 20:42:37 +01:00
Radarr/NzbDrone.Common/Messaging/IMessageAggregator.cs

11 lines
332 B
C#
Raw Normal View History

namespace NzbDrone.Common.Messaging
{
/// <summary>
2013-02-23 21:09:44 +01:00
/// 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;
}
}