SpecificationSource 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.

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

Where should the information for validation come from?

Namespace: Microsoft.Practices.EnterpriseLibrary.Validation.PolicyInjection
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Validation.Silverlight.dll) Version: 5.0.505.0

Syntax

public enum SpecificationSource
'Declaration
Public Enumeration SpecificationSource
public enum class SpecificationSource

Members

Member name Value Description
Both 0 Configuration and type attributes
Attributes 1 Type attributes only, ignoring configuration
Configuration 2 Configuration only, ignoring type attributes
ParameterAttributesOnly 3 Only use attributes on the parameters themselves, ignoring types and configuration

See Also

Microsoft.Practices.EnterpriseLibrary.Validation.PolicyInjection Namespace