[amd64/tramp] hide interpreter specific trampoline behind ifdef
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / Validation / ValidationState.cs
1 // <copyright>
2 //   Copyright (c) Microsoft Corporation.  All rights reserved.
3 // </copyright>
4
5 namespace System.Activities.Presentation.Validation
6 {
7     /// <summary>
8     /// An enumeration of values that represent states of activity validation.
9     /// </summary>
10     public enum ValidationState
11     {
12         // The numeric values of each of the enum values indicate the severity of the error.
13         // The higher the number is, the more severe the error. See the MarkError method in the
14         // ValidationService class for example of usage.
15
16         /// <summary>
17         /// A value that indicates that an error occurred during the validation of an activity. 
18         /// The numeric values of each of the enumeration values indicate the severity of the error. The value associated with the error state is 3
19         /// </summary>
20         Error = 3,
21
22         /// <summary>
23         /// A value that indicates that a warning occurred during the validation of an activity. 
24         /// The numeric values of each of the enumeration values indicate the severity of the error. The value associated with the warning state is 2.
25         /// </summary>
26         Warning = 2,
27
28         /// <summary>
29         /// A value that represents that validation found a child activity to be invalid. 
30         /// The numeric values of each of the enumeration values indicate the severity of the error. The value associated with the invalid child activity is 1.
31         /// </summary>
32         ChildInvalid = 1,
33
34         /// <summary>
35         /// A value that indicates that an activity is valid. 
36         /// The numeric values of each of the enumeration values indicate the severity of the error. The value associated with the valid state is 0.
37         /// </summary>
38         Valid = 0
39     }
40 }