Class ExtensionValidator
- Namespace
- Dynamicweb.Content.Items.Editors
- Assembly
- Dynamicweb.dll
Represents a required value validator.
- Inheritance
-
Extension
Validator
- Inherited Members
Constructors
ExtensionValidator(FileEditor, bool)
Initializes a new instance of an object.
Parameters
editor
FileEditor deleteNotAllowedFile
bool
Properties
DeleteNotAllowedFile
Property Value
Editor
Gets or sets the value editor.
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.