Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Microsoft.Practices.Unity.InterceptionExtension Namespace
Collapse the table of content
Expand the table of content

Microsoft.Practices.Unity.InterceptionExtension Namespace

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.

  ClassDescription
Ee650689.pubclass(en-us,PandP.10).gifApplyNoPoliciesAttribute
Attribute used to indicate that no interception should be applied to the attribute target.
Ee650689.pubclass(en-us,PandP.10).gifAssemblyMatchingRule
An IMatchingRule that matches the assembly name of the given member.
Ee650689.pubclass(en-us,PandP.10).gifAttributeDrivenPolicy
A InjectionPolicy class that reads and constructs handlers based on HandlerAttribute on the target.
Ee650689.pubclass(en-us,PandP.10).gifAttributeDrivenPolicyMatchingRule
An implementation of IMatchingRule that checks to see if the member (or type containing that member) have any HandlerAttributes.
Ee650689.pubclass(en-us,PandP.10).gifConstructorWithResolverKeysSelectorPolicy
A small implementation of IConstructorSelectorPolicy that returns the given SelectedConstructor object.
Ee650689.pubclass(en-us,PandP.10).gifCustomAttributeMatchingRule
An implementation of IMatchingRule that checks to see if the member tested has an arbitrary attribute applied.
Ee650689.pubclass(en-us,PandP.10).gifGlob
A "glob" is a string matching pattern. It is similar to the matches available in the file system (*.cs, for example). The Glob class implements this string matching.
Ee650689.pubclass(en-us,PandP.10).gifHandlerAttribute
Base class for handler attributes used in the attribute-driven interception policy.
Ee650689.pubclass(en-us,PandP.10).gifHandlerPipeline
The HandlerPipeline class encapsulates a list of ICallHandlers and manages calling them in the proper order with the right inputs.
Ee650689.pubclass(en-us,PandP.10).gifInjectionPolicy
Base class for Policies that specifies which handlers apply to which methods of an object.
Ee650689.pubclass(en-us,PandP.10).gifInstanceInterceptionPolicy
Implementation if IInstanceInterceptionPolicy
Ee650689.pubclass(en-us,PandP.10).gifInstanceInterceptionStrategy
A IBuilderStrategy that intercepts objects in the build chain by creating a proxy object.
Ee650689.pubclass(en-us,PandP.10).gifInterceptingClassGenerator
Class that handles generating the dynamic types used for interception.
Ee650689.pubclass(en-us,PandP.10).gifInterceptingRealProxy
This class provides the remoting-based interception mechanism. It is invoked by a call on the corresponding TransparentProxy object. It routes calls through the handlers as appropriate.
Ee650689.pubclass(en-us,PandP.10).gifInterception
A Unity container extension that allows you to configure whether an object should be intercepted and which mechanism should be used to do it, and also provides a convenient set of methods for configuring injection for RuleDrivenPolicy instances.
Ee650689.pubclass(en-us,PandP.10).gifInterfaceInterceptor
An instance interceptor that works by generating a proxy class on the fly for a single interface.
Ee650689.pubclass(en-us,PandP.10).gifInterfaceInterceptorClassGenerator
A class used to generate proxy classes for doing interception on interfaces.
Ee650689.pubclass(en-us,PandP.10).gifMatchingInfo
Class used for storing information about a single name/ignoreCase pair. This class is also used as a base class for other classes that need this pair plus some other properties.
Ee650689.pubclass(en-us,PandP.10).gifMatchingRuleSet
A is a matching rule that is a collection of other matching rules. All the contained rules much match for the set to match.
Ee650689.pubclass(en-us,PandP.10).gifMemberNameMatchingRule
A matching rule that matches when the given member name is the same as the one supplied in the constructor.
Ee650689.pubclass(en-us,PandP.10).gifMethodImplementationInfo
A dumb data holder that returns the methodinfo for both an interface method and the method that implements that interface method.
Ee650689.pubclass(en-us,PandP.10).gifMethodSignatureMatchingRule
Match methods with the given names and method signature.
Ee650689.pubclass(en-us,PandP.10).gifNamespaceMatchingRule
An IMatchingRule that matches members in a given namespace. You can specify either a single namespace (e.g. System.Data) or a namespace root (e.g. System.Data.* to match types in that namespace or below.
Ee650689.pubclass(en-us,PandP.10).gifParameterCollection
An implementation of IParameterCollection that wraps a provided array containing the argument values.
Ee650689.pubclass(en-us,PandP.10).gifParameterTypeMatchingInfo
A class that stores information about a single type to match.
Ee650689.pubclass(en-us,PandP.10).gifParameterTypeMatchingRule
An IMatchingRule that matches methods that have any parameters of the given types.
Ee650689.pubclass(en-us,PandP.10).gifPipelineManager
A collection of HandlerPipeline objects, indexed by MethodBase. Returns an empty pipeline if a MethodBase is requested that isn't in the dictionary.
Ee650689.pubclass(en-us,PandP.10).gifPolicyDefinition
Transient class that supports convenience method for specifying interception policies.
Ee650689.pubclass(en-us,PandP.10).gifPolicySet
A collection of Policy objects. The policies within a PolicySet combine using an "or" operation.
Ee650689.pubclass(en-us,PandP.10).gifPropertyMatchingInfo
Information about a property match.
Ee650689.pubclass(en-us,PandP.10).gifPropertyMatchingRule
An IMatchingRule implementation that matches properties by name. You can match the getter, setter, or both.
Ee650689.pubclass(en-us,PandP.10).gifReflectionHelper
A collection of utility functions to encapsulate details of reflection and finding attributes.
Ee650689.pubclass(en-us,PandP.10).gifReturnTypeMatchingRule
An IMatchingRule that checks to see if a member has a specified type.
Ee650689.pubclass(en-us,PandP.10).gifRuleDrivenPolicy
A policy is a combination of a matching rule set and a set of handlers. If the policy applies to a member, then the handlers will be enabled for that member.
Ee650689.pubclass(en-us,PandP.10).gifTagAttribute
A simple attribute used to "tag" classes, methods, or properties with a string that can later be matched via the TagAttributeMatchingRule.
Ee650689.pubclass(en-us,PandP.10).gifTagAttributeMatchingRule
A IMatchingRule that checks a member for the presence of the TagAttribute on the method, property, or class, and that the given string matches.
Ee650689.pubclass(en-us,PandP.10).gifTransparentProxyInterceptor
An instance interceptor that uses remoting proxies to do the interception.
Ee650689.pubclass(en-us,PandP.10).gifTransparentProxyMethodInvocation
An implementation of IMethodInvocation that wraps the remoting-based IMethodCallMessage in the Policy Injection Application Block call interface.
Ee650689.pubclass(en-us,PandP.10).gifTypeInterceptionPolicy
Implementation of ITypeInterceptionPolicy.
Ee650689.pubclass(en-us,PandP.10).gifTypeInterceptionStrategy
A IBuilderStrategy that hooks up type interception. It looks for a ITypeInterceptionPolicy for the current build key, or the current build type. If present, it substitutes types so that that proxy class gets built up instead. On the way back, it hooks up the appropriate handlers.
Ee650689.pubclass(en-us,PandP.10).gifTypeMatchingRule
A matching rule that matches when the member is declared in the given type.
Ee650689.pubclass(en-us,PandP.10).gifVirtualMethodInterceptor
A type based interceptor that works by generated a new class on the fly that derives from the target class.
Ee650689.pubclass(en-us,PandP.10).gifVirtualMethodInvocation
Implementation of IMethodInvocation used by the virtual method interceptor.
Ee650689.pubclass(en-us,PandP.10).gifVirtualMethodReturn
An implementation of IMethodReturn used by the virtual method interception mechanism.

  InterfaceDescription
Ee650689.pubinterface(en-us,PandP.10).gifICallHandler
Handlers implement this interface and are called for each invocation of the pipelines that they're included in.
Ee650689.pubinterface(en-us,PandP.10).gifIInstanceInterceptionPolicy
An interface that determines when to intercept instances and which interceptor to use.
Ee650689.pubinterface(en-us,PandP.10).gifIInstanceInterceptor
Interface for interceptors that generate separate proxy objects to implement interception on instances.
Ee650689.pubinterface(en-us,PandP.10).gifIInterceptingProxy
This interface is implemented by all proxy objects, type or instance based. It gives access to the handler pipelines for each method so that they can be set.
Ee650689.pubinterface(en-us,PandP.10).gifIInterceptor
Base interface for type and instance based interceptor classes.
Ee650689.pubinterface(en-us,PandP.10).gifIMatchingRule
This interface is implemented by the matching rule classes. A Matching rule is used to see if a particular policy should be applied to a class member.
Ee650689.pubinterface(en-us,PandP.10).gifIMethodInvocation
This interface is used to represent the call to a method. An implementation of IMethodInvocation is passed to the call handlers so that they may manipulate the call (typically by changing the parameters) before the final target gets called.
Ee650689.pubinterface(en-us,PandP.10).gifIMethodReturn
This interface is used to represent the return value from a method. An implementation of IMethodReturn is returned by call handlers, and each handler can manipulate the parameters, return value, or add an exception on the way out.
Ee650689.pubinterface(en-us,PandP.10).gifIParameterCollection
This interface represents a list of either input or output parameters. It implements a fixed size list, plus a couple of other utility methods.
Ee650689.pubinterface(en-us,PandP.10).gifITypeInterceptionPolicy
Interface that controls when and how types get intercepted.
Ee650689.pubinterface(en-us,PandP.10).gifITypeInterceptor
Interface for interceptor objects that generate proxy types.

  DelegateDescription
Ee650689.pubdelegate(en-us,PandP.10).gifGetNextHandlerDelegate
This delegate type is passed to each handler's Invoke method. Call the delegate to get the next delegate to call to continue the chain.
Ee650689.pubdelegate(en-us,PandP.10).gifInvokeHandlerDelegate
This delegate type is the type that points to the next method to execute in the current pipeline.

  EnumerationDescription
Ee650689.pubenumeration(en-us,PandP.10).gifParameterKind
Describes the type of parameter to match.
Ee650689.pubenumeration(en-us,PandP.10).gifPropertyMatchingOption
Specifies which methods of a property should be matches by the PropertyMatchingRule.
Show:
© 2015 Microsoft