-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIReportableCommand.cs
More file actions
34 lines (31 loc) · 1.26 KB
/
IReportableCommand.cs
File metadata and controls
34 lines (31 loc) · 1.26 KB
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
27
28
29
30
31
32
33
34
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using RapidField.SolidInstruments.Command;
using System;
namespace RapidField.SolidInstruments.EventAuthoring
{
/// <summary>
/// Represents a command that can be described by an <see cref="IEvent" />.
/// </summary>
/// <typeparam name="TEvent">
/// The type of the event that describes the command.
/// </typeparam>
public interface IReportableCommand<TEvent> : IReportableCommand, IReportable<TEvent>
where TEvent : class, IEvent
{
}
/// <summary>
/// Represents a command that can be described by an <see cref="IEvent" />.
/// </summary>
public interface IReportableCommand : ICommand, IReportable
{
/// <summary>
/// Gets the type of the event that describes the current <see cref="IReportableCommand" />.
/// </summary>
public Type EventType
{
get;
}
}
}