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
copyFromValidatorMetadata- Object to copy state from.
 
Exceptions
- ArgumentNullException
 copyFromis null.
Properties
ErrorMessage
Gets or sets the error message displayed when validation fails.
  
  public string ErrorMessage { get; set; }
  Property Value
Parameters
Gets or sets the validator parameters.
  
  public IDictionary<string, object> Parameters { get; set; }
  Property Value
TypeName
Gets or sets tye assembly-qualified name of the validator type.
  
  public string TypeName { get; set; }
  Property Value
Methods
CompareTo(ValidatorMetadata)
Compares the current object with the given one and returns the comparison result.
  
  public int CompareTo(ValidatorMetadata other)
  Parameters
otherValidatorMetadata- 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
targetValidatorMetadata- Object to copy state into.
 
Exceptions
- ArgumentNullException
 targetis null.