RequiredIfAttributeIsInverted Property |  |
Gets or sets a value indicating whether other property's value should match or differ from provided other property's value (default is false).
Namespace: Compiled.EDD.ScriptingAssembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntaxpublic bool IsInverted { get; set; }Property Value
Booleantrue if other property's value validation should be inverted; otherwise,
false.
Remarks
How this works
- true: validated property is required when other property doesn't equal provided value
- false: validated property is required when other property matches provided value
See Also