AttributeValidatorFactory Methods

Include Protected Members
Include Inherited Members

The AttributeValidatorFactory type exposes the following members.

Methods

  Name Description
Public method CreateValidator(Type)
Returns a validator representing the validation criteria specified for type targetType through configuration and aatributes on type targetType and its ancestors for the default ruleset.
(Inherited from ValidatorFactory.)
Public method CreateValidator(Type, String)
Returns a validator representing the validation criteria specified for type targetType through configuration and attributes on type targetType and its ancestors for the supplied ruleset.
(Inherited from ValidatorFactory.)
Public method CreateValidator<T>()
Returns a validator representing the validation criteria specified for type T through configuration and attributes on type T and its ancestors for the default ruleset.
(Inherited from ValidatorFactory.)
Public method CreateValidator<T>(String)
Returns a validator representing the validation criteria specified for type T through configuration and attributes on type T and its ancestors for the supplied ruleset.
(Inherited from ValidatorFactory.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method InnerCreateValidator
Creates the validator for the specified target and ruleset.
(Overrides ValidatorFactory.InnerCreateValidator(Type, String, ValidatorFactory).)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ResetCache
Clears the internal validator cache.
(Inherited from ValidatorFactory.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected method WrapAndInstrumentValidator(Validator, Type)
Wraps a Validator with a GenericValidatorWrapper<T> for instrumentation purposes.
(Inherited from ValidatorFactory.)

See Also

AttributeValidatorFactory Class

Microsoft.Practices.EnterpriseLibrary.Validation Namespace