Freigeben über


ValidationSpecificationSource Enumeration

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.

Specifies the required source for validation information when invoking Validator creation methods.

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

Syntax

'Declaration
PublicEnumerationValidationSpecificationSource
publicenumValidationSpecificationSource
publicenum classValidationSpecificationSource
publicenum ValidationSpecificationSource

Members

Member name Value Description
Attributes 0 Validation information is to be retrieved from attributes.
Configuration 1 Validation information is to be retrieved from configuration.
Both 2 Validation information is to be retrieved from both attributes and configuration.

See Also

Microsoft.Practices.EnterpriseLibrary.Validation Namespace

ValidationFactory.CreateValidator<T>(String, IConfigurationSource)

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.