ConstraintType Enumeration |
Type of constraints
Namespace: FlexRule.ConceptsAssembly: FlexRule.Validation (in FlexRule.Validation.dll) Version: 0.0.0.0 (0.0.0.0)
Syntaxpublic enum ConstraintType
Members
| Member name | Value | Description |
---|
| Expression | 0 |
Assert constraint based on a custom expression
|
| Required | 1 |
Member name must exist in the structure
|
| NotNullOrEmpty | 2 |
Value of member should not be null or empty
|
| Match | 3 |
Assert value based on RegEx pattern
|
| CheckType | 4 |
Assert value based on type of the member
|
| Min | 5 |
Minimum of length on size is asserted
|
| Max | 6 |
Maximum of length on size is asserted
|
See Also