Class Validator
Inheritance
System.Object
Validator
Namespace: DotNetNuke.Web.Validators
Assembly: DotNetNuke.Web.dll
Syntax
public class Validator : object
Constructors
| Improve this Doc View SourceValidator()
Initializes a new instance of the Validator class.
Declaration
public Validator()
Validator(ObjectValidator)
Initializes a new instance of the Validator class.
Declaration
public Validator(ObjectValidator validator)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectValidator | validator | The validator. |
Properties
| Improve this Doc View SourceValidators
Declaration
public IList<ObjectValidator> Validators { get; }
Property Value
| Type | Description |
|---|---|
| IList<ObjectValidator> |
Methods
| Improve this Doc View SourceValidateObject(Object)
Declaration
public ValidationResult ValidateObject(object target)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | target |
Returns
| Type | Description |
|---|---|
| ValidationResult |