ValidationSpecificationSource Enumeration

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) Version: 6.0.0.0 (6.0.1304.0)

[FlagsAttribute]
public enum ValidationSpecificationSource

Member nameValueDescription
Attributes1 Validation information is to be retrieved from attributes.
Configuration2 Validation information is to be retrieved from configuration.
Both3 Validation information is to be retrieved from both attributes and configuration.
DataAnnotations4 Validation information is to be retrieved from Data Annotations Validation Attributes.
All7 Validation information is to be retrieved from all possible sources.
Show: