Class PropertyValidationSettingsAttribute

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. The definition of a property validation.

Inheritance
System.Object
PropertyValidationSettingsAttribute
Namespace: EPiServer.Validation
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public sealed class PropertyValidationSettingsAttribute : Attribute

Constructors

PropertyValidationSettingsAttribute(String, Type)

Initializes a new instance of the PropertyValidationDefinition class.

Declaration
public PropertyValidationSettingsAttribute(string name, Type dataType)
Parameters
Type Name Description
System.String name

The name of the property validation.

System.Type dataType

The property data type that this definition applies to.

Properties

DataType

The property data type that this definition applies to.

Declaration
public Type DataType { get; }
Property Value
Type Description
System.Type

Name

The name of the property validation.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Extension Methods