Partager via


ValidatorParameter Members

Include Protected Members
Include Inherited Members

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.

The ValidatorParameter type exposes the following members.

Constructors

  Name Description
Public method ValidatorParameter(Type)
Creates the ValidatorParameter object, which resolves the default ruleset and all sources.
Public method ValidatorParameter(Type, ValidationSpecificationSource)
Creates the ValidatorParameter object which resolves using the default rule set and the given validationSource.
Public method ValidatorParameter(Type, String)
Creates the ValidatorParameter object which resolves using the given ruleSet and all sources.
Public method ValidatorParameter(Type, String, ValidationSpecificationSource)
Resolve a validator with the given ruleset and validation source.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetResolverPolicy
Return a IDependencyResolverPolicy instance that will return this types value for the parameter.
(Overrides InjectionParameterValue.GetResolverPolicy(Type).)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method MatchesType
Test to see if this parameter value has a matching type for the given type.
(Overrides InjectionParameterValue.MatchesType(Type).)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property ParameterTypeName
Name for the type represented by this InjectionParameterValue. This may be an actual type name or a generic argument name.
(Overrides InjectionParameterValue.ParameterTypeName.)

See Also

ValidatorParameter Class

Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.Unity Namespace