Class Validator
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a validator.
- Inheritance
-
Validator
- Derived
- Inherited Members
Constructors
Validator()
Initializes a new instance of an object.
Properties
ErrorMessage
Gets or sets the error message displayed when validation fails.
Property Value
Methods
Validate(ValidatorContext)
Performs validation and returns value indicating whether validation was successful.
Parameters
context
ValidatorContext Validation context.
Returns
- bool
Value indicating whether validation was successful.