Enum RuleOutcome
Enumerates the possible outcomes from an attempt to run a single validation rule.
Namespace: CSF.Validation.Rules
Assembly: CSF.Validation.Abstractions.dll
Syntax
public enum RuleOutcome
Fields
Name | Description |
---|---|
DependencyFailed | The rule was not executed because one or more of its dependency rules had failed. This is treated in the same way as if the rule had Failed but it is distinct because the way that the validation result is communicated (such as to a user) might differ. |
Errored | The rule partially executed but raised an exception. |
Failed | The rule executed and it explicitly failed. |
Passed | The rule executed and it explicitly passed. |