forked from Wouterdek/NodeNetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pulled enum out that had restricted access via generic type
- Loading branch information
Showing
2 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters