Share via


ValidationFactory.CreateValidatorFromConfiguration<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 for the default ruleset.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)

Syntax

'Declaration
PublicSharedFunctionCreateValidatorFromConfiguration(Of T) As Validator(Of T)
publicstatic Validator<T> CreateValidatorFromConfiguration<T>()
public:
generic<typename T>
static Validator<T>^ CreateValidatorFromConfiguration()
JScript does not support generic types or methods.

Type Parameters

  • T
    The type to get the validator for.

Return Value

The validator.

See Also

ValidationFactory Class

CreateValidatorFromConfiguration<T> Overload

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.