Share via


InjectionParameterValue 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 Unity Application Block information can be found at the Unity Application Block site.

The InjectionParameterValue type exposes the following members.

Constructors

  Name Description
Ee651306.protmethod(en-us,PandP.10).gif InjectionParameterValue

Methods

  Name Description
Ee651306.pubmethod(en-us,PandP.10).gif Equals (Inherited from Object.)
Ee651306.protmethod(en-us,PandP.10).gif Finalize (Inherited from Object.)
Ee651306.pubmethod(en-us,PandP.10).gif GetHashCode (Inherited from Object.)
Ee651306.pubmethod(en-us,PandP.10).gif GetResolverPolicy
Return a IDependencyResolverPolicy instance that will return this types value for the parameter.
Ee651306.pubmethod(en-us,PandP.10).gif GetType (Inherited from Object.)
Ee651306.pubmethod(en-us,PandP.10).gif MatchesType
Test to see if this parameter value has a matching type for the given type.
Ee651306.protmethod(en-us,PandP.10).gif MemberwiseClone (Inherited from Object.)
Ee651306.pubmethod(en-us,PandP.10).gifEe651306.static(en-us,PandP.10).gif ToParameter
Convert an arbitrary value to an InjectionParameterValue object. The rules are: If it's already an InjectionParameterValue, return it. If it's a Type, return a ResolvedParameter object for that type. Otherwise return an InjectionParameter object for that value.
Ee651306.pubmethod(en-us,PandP.10).gifEe651306.static(en-us,PandP.10).gif ToParameters
Convert the given set of arbitrary values to a sequence of InjectionParameterValue objects. The rules are: If it's already an InjectionParameterValue, return it. If it's a Type, return a ResolvedParameter object for that type. Otherwise return an InjectionParameter object for that value.
Ee651306.pubmethod(en-us,PandP.10).gif ToString (Inherited from Object.)

Properties

  Name Description
Ee651306.pubproperty(en-us,PandP.10).gif ParameterTypeName
Name for the type represented by this InjectionParameterValue. This may be an actual type name or a generic argument name.

See Also

InjectionParameterValue Class

Microsoft.Practices.Unity Namespace