mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
renamed EventAggregator to MessageAggregator
This commit is contained in:
parent
3638d85314
commit
7ae9e79540
53 changed files with 161 additions and 125 deletions
11
NzbDrone.Common/Messaging/IMessageAggregator.cs
Normal file
11
NzbDrone.Common/Messaging/IMessageAggregator.cs
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue