Show / Hide Table of Contents

Class AttributeBasedObjectValidator<TAttribute>

Inheritance
object
ObjectValidator
PropertyBasedObjectValidator
AttributeBasedObjectValidator<TAttribute>
DataAnnotationsObjectValidator
Inherited Members
PropertyBasedObjectValidator.ValidateObject(object)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Web.Validators
Assembly: DotNetNuke.Web.dll
Syntax
public abstract class AttributeBasedObjectValidator<TAttribute> : PropertyBasedObjectValidator where TAttribute : Attribute
Type Parameters
Name Description
TAttribute

Constructors

AttributeBasedObjectValidator()

Declaration
protected AttributeBasedObjectValidator()

Methods

ValidateAttribute(object, PropertyInfo, TAttribute)

Declaration
protected abstract ValidationResult ValidateAttribute(object target, PropertyInfo targetProperty, TAttribute attribute)
Parameters
Type Name Description
object target
PropertyInfo targetProperty
TAttribute attribute
Returns
Type Description
ValidationResult

ValidateProperty(object, PropertyInfo)

Declaration
protected override ValidationResult ValidateProperty(object target, PropertyInfo targetProperty)
Parameters
Type Name Description
object target
PropertyInfo targetProperty
Returns
Type Description
ValidationResult
Overrides
PropertyBasedObjectValidator.ValidateProperty(object, PropertyInfo)

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS