-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIEventHandler.cs
More file actions
26 lines (23 loc) · 991 Bytes
/
IEventHandler.cs
File metadata and controls
26 lines (23 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using RapidField.SolidInstruments.Command;
namespace RapidField.SolidInstruments.EventAuthoring
{
/// <summary>
/// Processes a single <see cref="IEvent" />.
/// </summary>
/// <typeparam name="TEvent">
/// The type of the event that is processed by the handler.
/// </typeparam>
public interface IEventHandler<in TEvent> : ICommandHandler<TEvent>, IEventHandler
where TEvent : class, IEvent
{
}
/// <summary>
/// Processes a single <see cref="IEvent" />.
/// </summary>
public interface IEventHandler : ICommandHandler
{
}
}