November Happy Hour will be moved to Thursday December 5th.

Class PropertyValidationDefinition

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
PropertyValidationDefinition
Namespace: EPiServer.Validation
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class PropertyValidationDefinition : Object

Constructors

PropertyValidationDefinition(String, Type, Type)

Initializes a new instance of the PropertyValidationDefinition class.

Declaration
public PropertyValidationDefinition(string name, Type dataType, Type settingsType)
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.

System.Type settingsType

The type that is used to store validation settings.

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

SettingsType

The type that is used to store validation settings for this validation.

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

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Extension Methods