• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class AttributeBasedObjectValidator<TAttribute>

Inheritance
System.Object
ObjectValidator
PropertyBasedObjectValidator
AttributeBasedObjectValidator<TAttribute>
DataAnnotationsObjectValidator
Inherited Members
PropertyBasedObjectValidator.ValidateObject(Object)
Namespace: DotNetNuke.Web.Validators
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
Type Description
ValidationResult
| 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
Type Description
ValidationResult
Overrides
PropertyBasedObjectValidator.ValidateProperty(Object, PropertyInfo)

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS