Microsoft.Practices.Unity.InterceptionExtension Namespace

Classes

  Class Description
Ee650689.pubclass(en-us,PandP.20).gif AdditionalInterface
Stores information about a single Type to be an additional interface for an intercepted object and configures a container accordingly.
Ee650689.pubclass(en-us,PandP.20).gif AdditionalInterface<T>
Stores information about a single Type to be an additional interface for an intercepted object and configures a container accordingly.
Ee650689.pubclass(en-us,PandP.20).gif AdditionalInterfacesPolicy
An IAdditionalInterfacesPolicy that accumulates a sequence of Type instances representing the additional interfaces for an intercepted object.
Ee650689.pubclass(en-us,PandP.20).gif ApplyNoPoliciesAttribute
Attribute used to indicate that no interception should be applied to the attribute target.
Ee650689.pubclass(en-us,PandP.20).gif AssemblyMatchingRule
An IMatchingRule that matches the assembly name of the given member.
Ee650689.pubclass(en-us,PandP.20).gif AttributeDrivenPolicy
A InjectionPolicy class that reads and constructs handlers based on HandlerAttribute on the target.
Ee650689.pubclass(en-us,PandP.20).gif AttributeDrivenPolicyMatchingRule
An implementation of IMatchingRule that checks to see if the member (or type containing that member) have any HandlerAttributes.
Ee650689.pubclass(en-us,PandP.20).gif ConstructorWithResolverKeysSelectorPolicy
A small implementation of IConstructorSelectorPolicy that returns the given SelectedConstructor object.
Ee650689.pubclass(en-us,PandP.20).gif CurrentInterceptionRequest
A simple data holder class used to store information about the current interception operation that's being set up. Useful for creating behaviors that need to know this stuff (especially the PIAB behavior).
Ee650689.pubclass(en-us,PandP.20).gif CustomAttributeMatchingRule
An implementation of IMatchingRule that checks to see if the member tested has an arbitrary attribute applied.
Ee650689.pubclass(en-us,PandP.20).gif DefaultInterceptionBehavior
An injection member that lets you specify behaviors that should apply to all instances of a type in the container regardless of what name it's resolved under.
Ee650689.pubclass(en-us,PandP.20).gif DefaultInterceptionBehavior<TBehavior>
A generic version of DefaultInterceptionBehavior so you can give the behavior type using generic syntax.
Ee650689.pubclass(en-us,PandP.20).gif DefaultInterceptor
A InjectionMember that can be passed to the RegisterType(Type, Type, String, LifetimeManager, array<InjectionMember[]) method to specify which interceptor to use. This member sets up the default interceptor for a type - this will be used regardless of which name is used to resolve the type.
Ee650689.pubclass(en-us,PandP.20).gif DefaultInterceptor<TInterceptor>
A generic version of DefaultInterceptor so that you can specify the interceptor type using generics.
Ee650689.pubclass(en-us,PandP.20).gif FixedInstanceInterceptionPolicy
Implementation of IInstanceInterceptionPolicy that returns a pre-created interceptor.
Ee650689.pubclass(en-us,PandP.20).gif FixedTypeInterceptionPolicy
Implementation of ITypeInterceptionPolicy that returns a precreated interceptor object.
Ee650689.pubclass(en-us,PandP.20).gif Glob
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.20).gif HandlerAttribute
Base class for handler attributes used in the attribute-driven interception policy.
Ee650689.pubclass(en-us,PandP.20).gif HandlerPipeline
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.20).gif InjectionPolicy
Base class for Policies that specifies which handlers apply to which methods of an object.
Ee650689.pubclass(en-us,PandP.20).gif InstanceInterceptionStrategy
A IBuilderStrategy that intercepts objects in the build chain by creating a proxy object.
Ee650689.pubclass(en-us,PandP.20).gif Intercept
High-level API for performing interception on existing and new objects.
Ee650689.pubclass(en-us,PandP.20).gif InterceptingClassGenerator
Class that handles generating the dynamic types used for interception.
Ee650689.pubclass(en-us,PandP.20).gif InterceptingRealProxy
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.20).gif Interception
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.20).gif InterceptionBehavior
Stores information about a single IInterceptionBehavior to be used on an intercepted object and configures a container accordingly.
Ee650689.pubclass(en-us,PandP.20).gif InterceptionBehavior<TBehavior>
A generic version of InterceptionBehavior that lets you specify behavior types using generic syntax.
Ee650689.pubclass(en-us,PandP.20).gif InterceptionBehaviorBase
Base class for injection members that allow you to add interception behaviors.
Ee650689.pubclass(en-us,PandP.20).gif InterceptionBehaviorPipeline
The InterceptionBehaviorPipeline class encapsulates a list of IInterceptionBehaviors and manages calling them in the proper order with the right inputs.
Ee650689.pubclass(en-us,PandP.20).gif InterceptionBehaviorsPolicy
An IInterceptionBehaviorsPolicy that accumulates a sequence of IInterceptionBehavior instances for an intercepted object.
Ee650689.pubclass(en-us,PandP.20).gif InterceptionMember
Stores information about a an intercepted object and configures a container accordingly.
Ee650689.pubclass(en-us,PandP.20).gif Interceptor
Stores information about the IInterceptor to be used to intercept an object and configures a container accordingly.
Ee650689.pubclass(en-us,PandP.20).gif Interceptor<TInterceptor>
Generic version of Interceptor that lets you specify an interceptor type using generic syntax.
Ee650689.pubclass(en-us,PandP.20).gif InterfaceInterceptor
An instance interceptor that works by generating a proxy class on the fly for a single interface.
Ee650689.pubclass(en-us,PandP.20).gif InterfaceInterceptorClassGenerator
A class used to generate proxy classes for doing interception on interfaces.
Ee650689.pubclass(en-us,PandP.20).gif InterfaceMethodOverride
Represents the implementation of an interface method.
Ee650689.pubclass(en-us,PandP.20).gif MatchingInfo
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.20).gif MatchingRuleSet
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.20).gif MemberNameMatchingRule
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.20).gif MethodImplementationInfo
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.20).gif MethodOverride
Represents the implementation of a method override.
Ee650689.pubclass(en-us,PandP.20).gif MethodSignatureMatchingRule
Match methods with the given names and method signature.
Ee650689.pubclass(en-us,PandP.20).gif NamespaceMatchingRule
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.20).gif ParameterCollection
An implementation of IParameterCollection that wraps a provided array containing the argument values.
Ee650689.pubclass(en-us,PandP.20).gif ParameterTypeMatchingInfo
A class that stores information about a single type to match.
Ee650689.pubclass(en-us,PandP.20).gif ParameterTypeMatchingRule
An IMatchingRule that matches methods that have any parameters of the given types.
Ee650689.pubclass(en-us,PandP.20).gif PipelineManager
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.20).gif PolicyDefinition
Transient class that supports convenience method for specifying interception policies.
Ee650689.pubclass(en-us,PandP.20).gif PolicyInjectionBehavior
Interceptor that performs policy injection.
Ee650689.pubclass(en-us,PandP.20).gif PolicySet
A collection of Policy objects. The policies within a PolicySet combine using an "or" operation.
Ee650689.pubclass(en-us,PandP.20).gif PropertyMatchingInfo
Information about a property match.
Ee650689.pubclass(en-us,PandP.20).gif PropertyMatchingRule
An IMatchingRule implementation that matches properties by name. You can match the getter, setter, or both.
Ee650689.pubclass(en-us,PandP.20).gif ReflectionHelper
A collection of utility functions to encapsulate details of reflection and finding attributes.
Ee650689.pubclass(en-us,PandP.20).gif ResolvedInstanceInterceptionPolicy
An implementation of IInstanceInterceptionPolicy that will resolve the interceptor through the container.
Ee650689.pubclass(en-us,PandP.20).gif ResolvedTypeInterceptionPolicy
An implementation of ITypeInterceptionPolicy that will resolve the interceptor through the container.
Ee650689.pubclass(en-us,PandP.20).gif ReturnTypeMatchingRule
An IMatchingRule that checks to see if a member has a specified type.
Ee650689.pubclass(en-us,PandP.20).gif RuleDrivenPolicy
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.20).gif TagAttribute
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.20).gif TagAttributeMatchingRule
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.20).gif TransparentProxyInterceptor
An instance interceptor that uses remoting proxies to do the interception.
Ee650689.pubclass(en-us,PandP.20).gif TransparentProxyMethodInvocation
An implementation of IMethodInvocation that wraps the remoting-based IMethodCallMessage in the PIAB call interface.
Ee650689.pubclass(en-us,PandP.20).gif TypeInterceptionStrategy
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.20).gif TypeMatchingRule
A matching rule that matches when the member is declared in the given type.
Ee650689.pubclass(en-us,PandP.20).gif VirtualMethodInterceptor
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.20).gif VirtualMethodInvocation
Implementation of IMethodInvocation used by the virtual method interceptor.
Ee650689.pubclass(en-us,PandP.20).gif VirtualMethodReturn
An implementation of IMethodReturn used by the virtual method interception mechanism.

Structures

  Structure Description
Ee650689.pubstructure(en-us,PandP.20).gif HandlerPipelineKey
Key for handler pipelines.

Interfaces

  Interface Description
Ee650689.pubinterface(en-us,PandP.20).gif IAdditionalInterfacesPolicy
An IBuilderPolicy that returns a sequence of Type instances representing the additional interfaces for an intercepted object.
Ee650689.pubinterface(en-us,PandP.20).gif ICallHandler
Handlers implement this interface and are called for each invocation of the pipelines that they're included in.
Ee650689.pubinterface(en-us,PandP.20).gif IInstanceInterceptionPolicy
An interface that determines when to intercept instances and which interceptor to use.
Ee650689.pubinterface(en-us,PandP.20).gif IInstanceInterceptor
Interface for interceptors that generate separate proxy objects to implement interception on instances.
Ee650689.pubinterface(en-us,PandP.20).gif IInterceptingProxy
This interface is implemented by all proxy objects, type or instance based. It allows for adding interception behaviors.
Ee650689.pubinterface(en-us,PandP.20).gif IInterceptionBehavior
Interception behaviors implement this interface and are called for each invocation of the pipelines that they're included in.
Ee650689.pubinterface(en-us,PandP.20).gif IInterceptionBehaviorsPolicy
An IBuilderPolicy that returns a sequence of IInterceptionBehavior instances for an intercepted object.
Ee650689.pubinterface(en-us,PandP.20).gif IInterceptor
Base interface for type and instance based interceptor classes.
Ee650689.pubinterface(en-us,PandP.20).gif IMatchingRule
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.20).gif IMethodInvocation
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.20).gif IMethodReturn
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.20).gif IParameterCollection
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.20).gif ITypeInterceptionPolicy
Interface that controls when and how types get intercepted.
Ee650689.pubinterface(en-us,PandP.20).gif ITypeInterceptor
Interface for interceptor objects that generate proxy types.

Delegates

  Delegate Description
Ee650689.pubdelegate(en-us,PandP.20).gif GetNextHandlerDelegate
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.20).gif GetNextInterceptionBehaviorDelegate
This delegate type is passed to each interceptor's Invoke method. Call the delegate to get the next delegate to call to continue the chain.
Ee650689.pubdelegate(en-us,PandP.20).gif InvokeHandlerDelegate
This delegate type is the type that points to the next method to execute in the current pipeline.
Ee650689.pubdelegate(en-us,PandP.20).gif InvokeInterceptionBehaviorDelegate
This delegate type is the type that points to the next method to execute in the current pipeline.

Enumerations

  Enumeration Description
Ee650689.pubenumeration(en-us,PandP.20).gif ParameterKind
Describes the type of parameter to match.
Ee650689.pubenumeration(en-us,PandP.20).gif PropertyMatchingOption
Specifies which methods of a property should be matches by the PropertyMatchingRule.