-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDomainModelCommandClassification.cs
More file actions
47 lines (41 loc) · 1.53 KB
/
DomainModelCommandClassification.cs
File metadata and controls
47 lines (41 loc) · 1.53 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
35
36
37
38
39
40
41
42
43
44
45
46
47
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using RapidField.SolidInstruments.Core.Domain;
using System;
using System.Runtime.Serialization;
namespace RapidField.SolidInstruments.Command
{
/// <summary>
/// Specifies a classification that describes the effect of a command upon an <see cref="IDomainModel" />.
/// </summary>
[DataContract]
public enum DomainModelCommandClassification : Int32
{
/// <summary>
/// The domain model command classification is not specified.
/// </summary>
[EnumMember]
Unspecified = 0,
/// <summary>
/// The command relates to the model, but does not otherwise cause a change to its characteristics.
/// </summary>
[EnumMember]
Associated = 1,
/// <summary>
/// The command causes the model to be created.
/// </summary>
[EnumMember]
Created = 2,
/// <summary>
/// The command causes the model to be deleted.
/// </summary>
[EnumMember]
Deleted = 3,
/// <summary>
/// The command causes the model to be updated.
/// </summary>
[EnumMember]
Updated = 4
}
}