ElementValidationAttribute Members

Include Protected Members
Include Inherited Members

The ElementValidationAttribute type exposes the following members.

Constructors

  Name Description
Public method ElementValidationAttribute(String)
Creates an instance of ElementValidationAttribute with the validator type specified by String.
Public method ElementValidationAttribute(Type)
Creates an instance of the ElementValidationAttribute with the validator type specified by Type

Methods

  Name Description
Public method CreateValidator
Creates a validator objects. This is expected to return a Validator type from the Microsoft.Practices.EnterpriseLibrary.Configuration.Design namespace.
Public method Equals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public method Match
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Overrides Attribute.TypeId.)
Public property ValidatorType
Retrieves the validator Type.

See Also

ElementValidationAttribute Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design.Validation Namespace