port from perforce
This commit is contained in:
26
intromat/NodeNetworkToolkit/ValueNode/ValidationAction.cs
Normal file
26
intromat/NodeNetworkToolkit/ValueNode/ValidationAction.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
namespace NodeNetwork.Toolkit.ValueNode
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Action that should be taken based on the validation result
|
||||
/// </summary>
|
||||
public enum ValidationAction
|
||||
{
|
||||
/// <summary>
|
||||
/// Don't run the validation. (LatestValidation is not updated)
|
||||
/// </summary>
|
||||
DontValidate,
|
||||
/// <summary>
|
||||
/// Run the validation, but ignore the result and assume the network is valid.
|
||||
/// </summary>
|
||||
IgnoreValidation,
|
||||
/// <summary>
|
||||
/// Run the validation and if the network is invalid then wait until it is valid.
|
||||
/// </summary>
|
||||
WaitForValid,
|
||||
/// <summary>
|
||||
/// Run the validation and if the network is invalid then make default(T) the current value.
|
||||
/// </summary>
|
||||
PushDefaultValue
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user