Partager via


InjectionPolicy 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 InjectionPolicy type exposes the following members.

Constructors

  Name Description
Ee650248.protmethod(en-us,PandP.10).gif InjectionPolicy Overloaded.

Methods

  Name Description
Ee650248.protmethod(en-us,PandP.10).gif DoesMatch
Derived classes implement this method to calculate if the policy will provide any handler to the specified member.
Ee650248.protmethod(en-us,PandP.10).gif DoGetHandlersFor
Derived classes implement this method to supply the list of handlers for this specific member.
Ee650248.pubmethod(en-us,PandP.10).gif Equals (Inherited from Object.)
Ee650248.protmethod(en-us,PandP.10).gif Finalize (Inherited from Object.)
Ee650248.pubmethod(en-us,PandP.10).gif GetHandlersFor
Returns ordered collection of handlers in order that apply to the given member.
Ee650248.pubmethod(en-us,PandP.10).gif GetHashCode (Inherited from Object.)
Ee650248.protmethod(en-us,PandP.10).gifEe650248.static(en-us,PandP.10).gif GetMethodSet
Given a method on an object, return the set of MethodBases for that method, plus any inteface methods that the member implements.
Ee650248.pubmethod(en-us,PandP.10).gif GetType (Inherited from Object.)
Ee650248.pubmethod(en-us,PandP.10).gif Matches
Checks if the rules in this policy match the given member information.
Ee650248.protmethod(en-us,PandP.10).gif MemberwiseClone (Inherited from Object.)
Ee650248.pubmethod(en-us,PandP.10).gif ToString (Inherited from Object.)

Properties

  Name Description
Ee650248.pubproperty(en-us,PandP.10).gif Name
Gets the name of this policy.

See Also

InjectionPolicy Class

Microsoft.Practices.Unity.InterceptionExtension Namespace