Radarr/NzbDrone.Common/Eventing/IEventAggregator.cs

14 lines
321 B
C#
Raw Normal View History

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