1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-20 00:11:46 +02:00
Radarr/NzbDrone.Common/Messaging/IMessageAggregator.cs
Keivan Beigi 182192e0ba added commands.
they can be triggered using the api

api/command/
2013-04-26 19:03:34 -07:00

11 lines
343 B
C#

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