Share via


ValidatorFactory.CreateValidator Method

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Overload List

  Name Description
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.
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.
Public method CreateValidator(Type)
Returns a validator representing the validation criteria specified for type targetType through configuration and attributes on type targetType and its ancestors for the default ruleset.
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.

See Also

ValidatorFactory Class

ValidatorFactory Members

Microsoft.Practices.EnterpriseLibrary.Validation Namespace