ValidationFactory.CreateValidator<T> Method
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. |
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.
Namespace: Microsoft.Practices.EnterpriseLibrary.Validation
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)
Syntax
'Declaration
PublicSharedFunctionCreateValidator(Of T) As Validator(Of T)
publicstatic Validator<T> CreateValidator<T>()
public:
generic<typename T>
static Validator<T>^ CreateValidator()
JScript does not support generic types or methods.
Type Parameters
- T
The type to get the validator for.
Return Value
The validator.
See Also
Microsoft.Practices.EnterpriseLibrary.Validation Namespace
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. |