Class AttributeBasedObjectValidator<TAttribute>
Inheritance
System.Object
AttributeBasedObjectValidator<TAttribute>
Assembly: DotNetNuke.Web.dll
Syntax
public abstract class AttributeBasedObjectValidator<TAttribute> : PropertyBasedObjectValidator where TAttribute : Attribute
Type Parameters
| Name |
Description |
| TAttribute |
|
Methods
|
Improve this Doc
View Source
ValidateAttribute(Object, PropertyInfo, TAttribute)
Declaration
protected abstract ValidationResult ValidateAttribute(object target, PropertyInfo targetProperty, TAttribute attribute)
Parameters
| Type |
Name |
Description |
| System.Object |
target |
|
| PropertyInfo |
targetProperty |
|
| TAttribute |
attribute |
|
Returns
|
Improve this Doc
View Source
ValidateProperty(Object, PropertyInfo)
Declaration
protected override ValidationResult ValidateProperty(object target, PropertyInfo targetProperty)
Parameters
| Type |
Name |
Description |
| System.Object |
target |
|
| PropertyInfo |
targetProperty |
|
Returns
Overrides
Extension Methods