Table of Contents

Class ValidatorMetadata

Namespace
Dynamicweb.Content.Items.Metadata
Assembly
Dynamicweb.dll

Represents a validator metadata.

public class ValidatorMetadata : IComparable<ValidatorMetadata>
Inheritance
ValidatorMetadata
Implements
Inherited Members

Constructors

ValidatorMetadata()

Initializes a new instance of an object.

public ValidatorMetadata()

ValidatorMetadata(ValidatorMetadata)

Initializes a new instance of an object.

public ValidatorMetadata(ValidatorMetadata copyFrom)

Parameters

copyFrom ValidatorMetadata

Object to copy state from.

Exceptions

ArgumentNullException

copyFrom is null.

Properties

ErrorMessage

Gets or sets the error message displayed when validation fails.

public string ErrorMessage { get; set; }

Property Value

string

Parameters

Gets or sets the validator parameters.

public IDictionary<string, object> Parameters { get; set; }

Property Value

IDictionary<string, object>

TypeName

Gets or sets tye assembly-qualified name of the validator type.

public string TypeName { get; set; }

Property Value

string

Methods

CompareTo(ValidatorMetadata)

Compares the current object with the given one and returns the comparison result.

public int CompareTo(ValidatorMetadata other)

Parameters

other ValidatorMetadata

Object to compare with.

Returns

int

Comparison result.

CopyTo(ValidatorMetadata)

Copies the state of the current object into the given one.

public void CopyTo(ValidatorMetadata target)

Parameters

target ValidatorMetadata

Object to copy state into.

Exceptions

ArgumentNullException

target is null.

To top