Class RequiredValidator
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a required value validator.
public class RequiredValidator : Validator
- Inheritance
-
RequiredValidator
- Inherited Members
Constructors
RequiredValidator()
Initializes a new instance of an object.
public RequiredValidator()
Methods
Validate(ValidatorContext)
Performs validation and returns value indicating whether validation was successful.
public override bool Validate(ValidatorContext context)
Parameters
context
ValidatorContextValidation context.
Returns
- bool
Value indicating whether validation was successful.