2013-02-19 02:37:16 +00:00
|
|
|
|
using System;
|
2013-03-03 22:26:41 +00:00
|
|
|
|
using System.Collections.Generic;
|
2013-02-19 02:37:16 +00:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Common.Eventing
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2013-02-23 20:09:44 +00:00
|
|
|
|
/// Enables loosely-coupled publication of events.
|
2013-02-19 02:37:16 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IEventAggregator
|
|
|
|
|
{
|
2013-02-24 19:18:48 +00:00
|
|
|
|
void Publish<TEvent>(TEvent message) where TEvent : IEvent;
|
2013-02-19 02:37:16 +00:00
|
|
|
|
}
|
|
|
|
|
}
|