11 lines
278 B
C#
11 lines
278 B
C#
using System.Threading.Tasks;
|
|
using xEventService.Models;
|
|
|
|
namespace xEventService.Interfaces {
|
|
public interface IXEventHandler<in TEvent> : IXEventHandler
|
|
where TEvent : XEvent {
|
|
Task HandleAsync (TEvent @event);
|
|
}
|
|
|
|
public interface IXEventHandler { }
|
|
} |