/V2/trunk/LIB/Desktop/Unity/Microsoft.Practices.Unity.Interception.xml
XML | 1029 lines | 1025 code | 4 blank | 0 comment | 0 complexity | f9be7bb221c12a026cc743a8439ffe59 MD5 | raw file
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>Microsoft.Practices.Unity.Interception</name>
- </assembly>
- <members>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.IInterceptingProxy">
- <summary>
- 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.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IInterceptingProxy.GetPipeline(System.Reflection.MethodBase)">
- <summary>
- Retrieve the pipeline assocated with the requested <paramref name="method"/>.
- </summary>
- <param name="method">Method for which the pipeline is being requested.</param>
- <returns>The handler pipeline for the given method. If no pipeline has
- been set, returns a new empty pipeline.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IInterceptingProxy.SetPipeline(System.Reflection.MethodBase,Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline)">
- <summary>
- Set a new pipeline for a method.
- </summary>
- <param name="method">Method to apply the pipeline to.</param>
- <param name="pipeline">The new pipeline.</param>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.IInterceptor">
- <summary>
- Base interface for type and instance based interceptor classes.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IInterceptor.CanIntercept(System.Type)">
- <summary>
- Can this interceptor generate a proxy for the given type?
- </summary>
- <param name="t">Type to check.</param>
- <returns>True if interception is possible, false if not.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IInterceptor.GetInterceptableMethods(System.Type,System.Type)">
- <summary>
- Returns a sequence of methods on the given type that can be
- intercepted.
- </summary>
- <param name="interceptedType">Type that was specified when this interceptor
- was created (typically an interface).</param>
- <param name="implementationType">The concrete type of the implementing object.</param>
- <returns>Sequence of <see cref="T:System.Reflection.MethodInfo"/> objects.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IInterceptor.MethodInfoForPipeline(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo)">
- <summary>
- Given a <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo"/>, return the appropriate
- <see cref="T:System.Reflection.MethodInfo"/> object to use to attach a <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline"/>
- to so that the handlers will get called when the method gets called.
- </summary>
- <param name="methodInfo">Original <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo"/> object that
- combines the <see cref="T:System.Reflection.MethodInfo"/>s for an interface method and the corresponding implementation.</param>
- <returns>The <see cref="T:System.Reflection.MethodInfo"/> object to pass to the <see cref="M:Microsoft.Practices.Unity.InterceptionExtension.IInterceptingProxy.SetPipeline(System.Reflection.MethodBase,Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline)"/> method.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptionPolicy">
- <summary>
- An interface that determines when to intercept instances
- and which interceptor to use.
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptionPolicy.Interceptor">
- <summary>
- Interceptor to use.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor">
- <summary>
- Interface for interceptors that generate separate proxy
- objects to implement interception on instances.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor.CreateProxy(System.Type,System.Object)">
- <summary>
- Create a proxy object that provides interception for <paramref name="target"/>.
- </summary>
- <param name="t">Type to generate the proxy of.</param>
- <param name="target">Object to create the proxy for.</param>
- <returns>The proxy object.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.InstanceInterceptionPolicy">
- <summary>
- Implementation if <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptionPolicy"/>
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InstanceInterceptionPolicy.#ctor(Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor)">
- <summary>
- Create a new instance of <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.InstanceInterceptionPolicy"/>.
- </summary>
- <param name="interceptor">Interceptor to store.</param>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.InstanceInterceptionPolicy.Interceptor">
- <summary>
- Interceptor to use.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.InstanceInterceptionStrategy">
- <summary>
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"/> that intercepts objects
- in the build chain by creating a proxy object.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InstanceInterceptionStrategy.PostBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
- <summary>
- Called during the chain of responsibility for a build operation. The
- PostBuildUp method is called when the chain has finished the PreBuildUp
- phase and executes in reverse order from the PreBuildUp calls.
- </summary>
- <param name="context">Context of the build operation.</param>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptor">
- <summary>
- An instance interceptor that works by generating a
- proxy class on the fly for a single interface.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptor.CanIntercept(System.Type)">
- <summary>
- Can this interceptor generate a proxy for the given type?
- </summary>
- <param name="t">Type to check.</param>
- <returns>True if interception is possible, false if not.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptor.GetInterceptableMethods(System.Type,System.Type)">
- <summary>
- Returns a sequence of methods on the given type that can be
- intercepted.
- </summary>
- <param name="interceptedType">Type that was specified when this interceptor
- was created (typically an interface).</param>
- <param name="implementationType">The concrete type of the implementing object.</param>
- <returns>Sequence of <see cref="T:System.Reflection.MethodInfo"/> objects.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptor.CreateProxy(System.Type,System.Object)">
- <summary>
- Create a proxy object that provides interception for <paramref name="target"/>.
- </summary>
- <param name="t">Type to generate the proxy of.</param>
- <param name="target">Object to create the proxy for.</param>
- <returns>The proxy object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptor.MethodInfoForPipeline(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo)">
- <summary>
- Given a <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo"/>, return the appropriate
- <see cref="T:System.Reflection.MethodInfo"/> object to use to attach a <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline"/>
- to so that the handlers will get called when the method gets called.
- </summary>
- <param name="methodInfo">Original <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo"/> object that
- combines the <see cref="T:System.Reflection.MethodInfo"/>s for an interface method and the corresponding implementation.</param>
- <returns>The <see cref="T:System.Reflection.MethodInfo"/> object to pass to the <see cref="M:Microsoft.Practices.Unity.InterceptionExtension.IInterceptingProxy.SetPipeline(System.Reflection.MethodBase,Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline)"/> method.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptorClassGenerator">
- <summary>
- A class used to generate proxy classes for doing interception on
- interfaces.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptorClassGenerator.#ctor(System.Type)">
- <summary>
- Create an instance of <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptorClassGenerator"/> that
- can construct an intercepting proxy for the given interface.
- </summary>
- <param name="typeToIntercept">Type of the interface to intercept.</param>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterfaceInterceptorClassGenerator.CreateProxyType">
- <summary>
- Create the type to proxy the requested interface
- </summary>
- <returns></returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy">
- <summary>
- 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.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy.#ctor(System.Object,System.Type)">
- <summary>
- Creates a new <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy"/> instance that applies
- the given policies to the given target object.
- </summary>
- <param name="target">Target object to intercept calls to.</param>
- <param name="classToProxy">Type to return as the type being proxied.</param>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy.GetPipeline(System.Reflection.MethodBase)">
- <summary>
- Retrieve the pipeline assocated with the requested <paramref name="method"/>.
- </summary>
- <param name="method">Method for which the pipeline is being requested.</param>
- <returns>The handler pipeline for the given method. If no pipeline has
- been set, returns a new empty pipeline.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy.SetPipeline(System.Reflection.MethodBase,Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline)">
- <summary>
- Set a new pipeline for a method.
- </summary>
- <param name="method">Method to apply the pipeline to.</param>
- <param name="pipeline">The new pipeline.</param>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy.CanCastTo(System.Type,System.Object)">
- <summary>
- Checks whether the proxy that represents the specified object type can be cast to the type represented by the <see cref="T:System.Runtime.Remoting.IRemotingTypeInfo"></see> interface.
- </summary>
-
- <returns>
- true if cast will succeed; otherwise, false.
- </returns>
-
- <param name="fromType">The type to cast to. </param>
- <param name="o">The object for which to check casting. </param>
- <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission. </exception>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy.Invoke(System.Runtime.Remoting.Messaging.IMessage)">
- <summary>
- Executes a method call represented by the <paramref name="msg"/>
- parameter. The CLR will call this method when a method is called
- on the TransparentProxy. This method runs the invocation through
- the call handler pipeline and finally sends it down to the
- target object, and then back through the pipeline.
- </summary>
- <param name="msg">An <see cref="T:System.Runtime.Remoting.Messaging.IMessage"/> object that contains the information
- about the method call.</param>
- <returns>An <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.TransparentProxyMethodReturn"/> object contains the
- information about the target method's return value.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy.TranslateInterfaceMethod(System.Reflection.MethodBase)">
- <summary>
- Given a MethodBase, if it's for an interface method, return the MethodBase
- for the method that implements the interface method. If it's not an
- interface method, do nothing.
- </summary>
- <param name="method">Original Method</param>
- <returns>The implementing method.</returns>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy.Target">
- <summary>
- Returns the target of this intercepted call.
- </summary>
- <value>The target object.</value>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.InterceptingRealProxy.TypeName">
- <summary>
- Gets or sets the fully qualified type name of the server object in a <see cref="T:System.Runtime.Remoting.ObjRef"></see>.
- </summary>
-
- <value>
- The fully qualified type name of the server object in a <see cref="T:System.Runtime.Remoting.ObjRef"></see>.
- </value>
-
- <exception cref="T:System.Security.SecurityException">The immediate caller makes the call through a reference to the interface and does not have infrastructure permission. </exception><PermissionSet><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" /></PermissionSet>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.TransparentProxyInterceptor">
- <summary>
- An instance interceptor that uses remoting proxies to do the
- interception.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.TransparentProxyInterceptor.CanIntercept(System.Type)">
- <summary>
- Can this interceptor generate a proxy for the given type?
- </summary>
- <param name="t">Type to check.</param>
- <returns>True if interception is possible, false if not.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.TransparentProxyInterceptor.GetInterceptableMethods(System.Type,System.Type)">
- <summary>
- Returns a sequence of methods on the given type that can be
- intercepted.
- </summary>
- <param name="interceptedType">Type that was specified when this interceptor
- was created (typically an interface).</param>
- <param name="implementationType">The concrete type of the implementing object.</param>
- <returns>Sequence of <see cref="T:System.Reflection.MethodInfo"/> objects.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.TransparentProxyInterceptor.CreateProxy(System.Type,System.Object)">
- <summary>
- Create a proxy object that provides interception for <paramref name="target"/>.
- </summary>
- <param name="t">Type to generate the proxy of.</param>
- <param name="target">Object to create the proxy for.</param>
- <returns>The proxy object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.TransparentProxyInterceptor.MethodInfoForPipeline(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo)">
- <summary>
- Given a <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo"/>, return the appropriate
- <see cref="T:System.Reflection.MethodInfo"/> object to use to attach a <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline"/>
- to so that the handlers will get called when the method gets called.
- </summary>
- <param name="methodInfo">Original <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo"/> object that
- combines the <see cref="T:System.Reflection.MethodInfo"/>s for an interface method and the corresponding implementation.</param>
- <returns>The <see cref="T:System.Reflection.MethodInfo"/> object to pass to the <see cref="M:Microsoft.Practices.Unity.InterceptionExtension.IInterceptingProxy.SetPipeline(System.Reflection.MethodBase,Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline)"/> method.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo">
- <summary>
- A dumb data holder that returns the methodinfo for both an
- interface method and the method that implements that interface
- method.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo.#ctor(System.Reflection.MethodInfo,System.Reflection.MethodInfo)">
- <summary>
- Construct a new <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo"/> which holds
- the given <see cref="T:System.Reflection.MethodInfo"/> objects.
- </summary>
- <param name="interfaceMethodInfo">MethodInfo for the interface method (may be null if no interface).</param>
- <param name="implementationMethodInfo">MethodInfo for implementing method.</param>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo.Equals(System.Object)">
- <summary>
- Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" />.
- </summary>
- <returns>
- true if the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" />; otherwise, false.
- </returns>
- <param name="obj">
- The <see cref="T:System.Object" /> to compare with the current <see cref="T:System.Object" />.
- </param>
- <exception cref="T:System.NullReferenceException">
- The <paramref name="obj" /> parameter is null.
- </exception><filterpriority>2</filterpriority>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo.GetHashCode">
- <summary>
- Serves as a hash function for a particular type.
- </summary>
- <returns>
- A hash code for the current <see cref="T:System.Object" />.
- </returns>
- <filterpriority>2</filterpriority>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo.op_Equality(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo,Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo)">
- <summary>
- Standard equals operator
- </summary>
- <param name="left"></param>
- <param name="right"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo.op_Inequality(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo,Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo)">
- <summary>
- standard not equal operator.
- </summary>
- <param name="left"></param>
- <param name="right"></param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo.ToString">
- <summary>
- Returns a <see cref="T:System.String" /> that represents the current <see cref="T:System.Object" />.
- </summary>
- <returns>
- A <see cref="T:System.String" /> that represents the current <see cref="T:System.Object" />.
- </returns>
- <filterpriority>2</filterpriority>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo.InterfaceMethodInfo">
- <summary>
- The interface method MethodInfo.
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo.ImplementationMethodInfo">
- <summary>
- The implementing method MethodInfo.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptionPolicy">
- <summary>
- Interface that controls when and how types get intercepted.
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptionPolicy.Interceptor">
- <summary>
- Interceptor to use to create type proxy
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptionPolicy.ProxyType">
- <summary>
- Cache for proxied type.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor">
- <summary>
- Interface for interceptor objects that generate
- proxy types.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor.CreateProxyType(System.Type)">
- <summary>
- Create a type to proxy for the given type <paramref name="t"/>.
- </summary>
- <param name="t">Type to proxy.</param>
- <returns>New type that can be instantiated instead of the
- original type t, and supports interception.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.TypeInterceptionPolicy">
- <summary>
- Implementation of <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptionPolicy"/>.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.TypeInterceptionPolicy.#ctor(Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor)">
- <summary>
- Create a new instance of <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.TypeInterceptionPolicy"/> that
- uses the given <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor"/>.
- </summary>
- <param name="interceptor">Interceptor to use.</param>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.TypeInterceptionPolicy.Interceptor">
- <summary>
- Interceptor to use to create type proxy
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.TypeInterceptionPolicy.ProxyType">
- <summary>
- Cache for proxied type.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.TypeInterceptionStrategy">
- <summary>
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"/> that hooks up type interception. It looks for
- a <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.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.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.TypeInterceptionStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
- <summary>
- Called during the chain of responsibility for a build operation. The
- PreBuildUp method is called when the chain is being executed in the
- forward direction.
- </summary>
- <remarks>In this class, PreBuildUp is responsible for figuring out if the
- class is proxiable, and if so, replacing it with a proxy class.</remarks>
- <param name="context">Context of the build operation.</param>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.TypeInterceptionStrategy.PostBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
- <summary>
- Called during the chain of responsibility for a build operation. The
- PostBuildUp method is called when the chain has finished the PreBuildUp
- phase and executes in reverse order from the PreBuildUp calls.
- </summary>
- <remarks>In this class, PostBuildUp checks to see if the object was proxyable,
- and if it was, wires up the handlers.</remarks>
- <param name="context">Context of the build operation.</param>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.InterceptingProxyImplementor">
- <summary>
- This class provides the code needed to implement the <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.IInterceptingProxy"/>
- interface on a class.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.MethodSorter">
- <summary>
- A utility class that takes a set of <see cref="T:System.Reflection.MethodInfo"/>s
- and pulls out shadowed methods, only returning the ones that
- are actually accessible to be overriden.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodSorter.GroupMethodsByName(System.Collections.Generic.IEnumerable{System.Reflection.MethodInfo})">
- <summary>
- Take the list of methods and put them together into lists index by method name.
- </summary>
- <param name="methodsToSort">Methods to sort through.</param>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodSorter.RemoveHiddenOverloads(System.Collections.Generic.IEnumerable{System.Reflection.MethodInfo})">
- <summary>
- Given a list of overloads for a method, return only those methods
- that are actually visible. In other words, if there's a "new foo" method
- somewhere, return only the new one, not the one from the base class
- that's now hidden.
- </summary>
- <param name="methods">Sequence of methods to process.</param>
- <returns>Sequence of returned methods.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodSorter.GroupOverloadedMethods(System.Collections.Generic.IList{System.Reflection.MethodInfo})">
- <summary>
- Take a semi-randomly ordered set of methods on a type and
- sort them into groups by name and by parameter list.
- </summary>
- <param name="sortedMethods">The list of methods.</param>
- <returns>Sequence of lists of methods, grouped by method name.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodSorter.SelectMostDerivedOverload(System.Collections.Generic.IList{System.Reflection.MethodInfo})">
- <summary>
- Given a set of hiding overloads, return only the currently visible one.
- </summary>
- <param name="overloads">The set of overloads.</param>
- <returns>The most visible one.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodSorter.DeclarationDepth(System.Reflection.MethodInfo)">
- <summary>
- Given a method, return a value indicating how deeply in the
- inheritance hierarchy the method is declared. Current type = 0,
- parent = 1, grandparent = 2, etc.
- </summary>
- <param name="method">Method to check.</param>
- <returns>Declaration depth</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodSorter.CompareMethodInfosByParameterLists(System.Reflection.MethodInfo,System.Reflection.MethodInfo)">
- <summary>
- A <see cref="T:System.Comparison`1"/> implementation that can compare two <see cref="T:System.Reflection.MethodInfo"/>
- based on their parameter lists.
- </summary>
- <param name="left">First <see cref="T:System.Reflection.MethodInfo"/> to compare.</param>
- <param name="right">Second <see cref="T:System.Reflection.MethodInfo"/> to compare.</param>
- <returns>< 0, 0, or > 0 based on which one is "greater" than the other.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodSorter.CompareParameterLists(System.Reflection.ParameterInfo[],System.Reflection.ParameterInfo[])">
- <summary>
- Compare two parameter lists.
- </summary>
- <param name="left">First parameter list.</param>
- <param name="right">Second parameter list.</param>
- <returns>< 0, 0, or > 0.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.MethodSorter.CompareParameterInfo(System.Reflection.ParameterInfo,System.Reflection.ParameterInfo)">
- <summary>
- Compare two <see cref="T:System.Reflection.ParameterInfo"/> objects by type.
- </summary>
- <param name="left">First <see cref="T:System.Reflection.ParameterInfo"/></param>
- <param name="right">First <see cref="T:System.Reflection.ParameterInfo"/></param>
- <returns>< 0, 0, or > 0</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.VirtualMethodInterceptor">
- <summary>
- A type based interceptor that works by generated a new class
- on the fly that derives from the target class.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.VirtualMethodInterceptor.CanIntercept(System.Type)">
- <summary>
- Can this interceptor generate a proxy for the given type?
- </summary>
- <param name="t">Type to check.</param>
- <returns>True if interception is possible, false if not.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.VirtualMethodInterceptor.GetInterceptableMethods(System.Type,System.Type)">
- <summary>
- Returns a sequence of methods on the given type that can be
- intercepted.
- </summary>
- <param name="interceptedType">Type that was specified when this interceptor
- was created (typically an interface).</param>
- <param name="implementationType">The concrete type of the implementing object.</param>
- <returns>Sequence of <see cref="T:System.Reflection.MethodInfo"/> objects.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.VirtualMethodInterceptor.CreateProxyType(System.Type)">
- <summary>
- Create a type to proxy for the given type <paramref name="t"/>.
- </summary>
- <param name="t">Type to proxy.</param>
- <returns>New type that can be instantiated instead of the
- original type t, and supports interception.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.VirtualMethodInterceptor.MethodInfoForPipeline(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo)">
- <summary>
- Given a <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo"/>, return the appropriate
- <see cref="T:System.Reflection.MethodInfo"/> object to use to attach a <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline"/>
- to so that the handlers will get called when the method gets called.
- </summary>
- <param name="methodInfo">Original <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo"/> object that
- combines the <see cref="T:System.Reflection.MethodInfo"/>s for an interface method and the corresponding implementation.</param>
- <returns>The <see cref="T:System.Reflection.MethodInfo"/> object to pass to the <see cref="M:Microsoft.Practices.Unity.InterceptionExtension.IInterceptingProxy.SetPipeline(System.Reflection.MethodBase,Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline)"/> method.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.PipelineManager">
- <summary>
- A collection of <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline"/> objects, indexed
- by <see cref="T:System.Reflection.MethodBase"/>. Returns an empty pipeline if a
- MethodBase is requested that isn't in the dictionary.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.PipelineManager.GetPipeline(System.Int32)">
- <summary>
- Retrieve the pipeline assocated with the requested <paramref name="methodToken"/>.
- </summary>
- <param name="methodToken">Metadata token for the method for which the pipeline is being requested.</param>
- <returns>The handler pipeline for the given method. If no pipeline has
- been set, returns a new empty pipeline.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.PipelineManager.SetPipeline(System.Int32,Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline)">
- <summary>
- Set a new pipeline for a method.
- </summary>
- <param name="methodToken">Metadata token for the method to apply the pipeline to.</param>
- <param name="pipeline">The new pipeline.</param>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.ApplyNoPoliciesAttribute">
- <summary>
- Attribute used to indicate that no interception should be applied to
- the attribute target.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.AttributeDrivenPolicy">
- <summary>
- A <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy"/> class that reads and constructs handlers
- based on <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerAttribute"/> on the target.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy">
- <summary>
- Base class for Policies that specifies which handlers apply to which methods of an object.
- </summary>
- <remarks>
- <para>This base class always enforces the
- <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.ApplyNoPoliciesMatchingRule"/> before
- passing the checks onto derived classes. This way, derived classes do not need to
- worry about implementing this check.</para>
- <para>It also means that derived classes cannot override this rule. This is considered a feature.</para></remarks>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy.#ctor">
- <summary>
- Creates a new empty Policy.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy.#ctor(System.String)">
- <summary>
- Creates a new empty policy with the given name.
- </summary>
- <param name="name">Name of the policy.</param>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy.Matches(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo)">
- <summary>
- Checks if the rules in this policy match the given member info.
- </summary>
- <param name="member">MemberInfo to check against.</param>
- <returns>true if ruleset matches, false if it does not.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy.GetHandlersFor(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo,Microsoft.Practices.Unity.IUnityContainer)">
- <summary>
- Returns ordered collection of handlers in order that apply to the given member.
- </summary>
- <param name="member">Member that may or may not be assigned handlers by this policy.</param>
- <param name="container">The <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> to use when creating handlers,
- if necessary.</param>
- <returns>Collection of handlers (possibly empty) that apply to this member.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy.GetMethodSet(System.Reflection.MethodBase)">
- <summary>
- Given a method on an object, return the set of MethodBases for that method,
- plus any inteface methods that the member implements.
- </summary>
- <param name="member">Member to get Method Set for.</param>
- <returns>The set of methods</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy.DoesMatch(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo)">
- <summary>
- Derived classes implement this method to calculate if the policy
- will provide any handler to the specified member.
- </summary>
- <param name="member">Member to check.</param>
- <returns>true if policy applies to this member, false if not.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy.DoGetHandlersFor(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo,Microsoft.Practices.Unity.IUnityContainer)">
- <summary>
- Derived classes implement this method to supply the list of handlers for
- this specific member.
- </summary>
- <param name="member">Member to get handlers for.</param>
- <param name="container">The <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> to use when creating handlers,
- if necessary.</param>
- <returns>Enumerable collection of handlers for this method.</returns>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.InjectionPolicy.Name">
- <summary>
- Gets the name of this policy.
- </summary>
- <value>The name of the policy.</value>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.AttributeDrivenPolicy.#ctor">
- <summary>
- Constructs a new instance of the <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.AttributeDrivenPolicy"/>.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.AttributeDrivenPolicy.DoesMatch(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo)">
- <summary>
- Derived classes implement this method to calculate if the policy
- will provide any handler to the specified member.
- </summary>
- <param name="member">Member to check.</param>
- <returns>true if policy applies to this member, false if not.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.AttributeDrivenPolicy.DoGetHandlersFor(Microsoft.Practices.Unity.InterceptionExtension.MethodImplementationInfo,Microsoft.Practices.Unity.IUnityContainer)">
- <summary>
- Derived classes implement this method to supply the list of handlers for
- this specific member.
- </summary>
- <param name="member">Member to get handlers for.</param>
- <param name="container">The <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> to use when creating handlers,
- if necessary.</param>
- <returns>Enumerable collection of handlers for this method.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerAttribute">
- <summary>
- Base class for handler attributes used in the attribute-driven
- interception policy.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.HandlerAttribute.CreateHandler(Microsoft.Practices.Unity.IUnityContainer)">
- <summary>
- Derived classes implement this method. When called, it
- creates a new call handler as specified in the attribute
- configuration.
- </summary>
- <param name="container">The <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> to use when creating handlers,
- if necessary.</param>
- <returns>A new call handler object.</returns>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.HandlerAttribute.Order">
- <summary>
- Gets or sets the order in which the handler will be executed.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline">
- <summary>
- The HandlerPipeline class encapsulates a list of <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.ICallHandler"/>s
- and manages calling them in the proper order with the right inputs.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline.#ctor">
- <summary>
- Creates a new <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline"/> with an empty pipeline.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.InterceptionExtension.ICallHandler})">
- <summary>
- Creates a new <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline"/> with the given collection
- of <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.ICallHandler"/>s.
- </summary>
- <param name="handlers">Collection of handlers to add to the pipeline.</param>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline.Invoke(Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation,Microsoft.Practices.Unity.InterceptionExtension.InvokeHandlerDelegate)">
- <summary>
- Execute the pipeline with the given input.
- </summary>
- <param name="input">Input to the method call.</param>
- <param name="target">The ultimate target of the call.</param>
- <returns>Return value from the pipeline.</returns>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.HandlerPipeline.Count">
- <summary>
- Get the number of handlers in this pipeline.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.ICallHandler">
- <summary>
- Handlers implement this interface and are called for each
- invocation of the pipelines that they're included in.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.ICallHandler.Invoke(Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation,Microsoft.Practices.Unity.InterceptionExtension.GetNextHandlerDelegate)">
- <summary>
- Implement this method to execute your handler processing.
- </summary>
- <param name="input">Inputs to the current call to the target.</param>
- <param name="getNext">Delegate to execute to get the next delegate in the handler
- chain.</param>
- <returns>Return value from the target.</returns>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.ICallHandler.Order">
- <summary>
- Order in which the handler will be executed
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.InvokeHandlerDelegate">
- <summary>
- This delegate type is the type that points to the next
- method to execute in the current pipeline.
- </summary>
- <param name="input">Inputs to the current method call.</param>
- <param name="getNext">Delegate to get the next handler in the chain.</param>
- <returns>Return from the next method in the chain.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.GetNextHandlerDelegate">
- <summary>
- 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.
- </summary>
- <returns>Next delegate in the handler chain to call.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.IMatchingRule">
- <summary>
- 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.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IMatchingRule.Matches(System.Reflection.MethodBase)">
- <summary>
- Tests to see if this rule applies to the given member.
- </summary>
- <param name="member">Member to test.</param>
- <returns>true if the rule applies, false if it doesn't.</returns>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation">
- <summary>
- 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.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation.CreateMethodReturn(System.Object,System.Object[])">
- <summary>
- Factory method that creates the correct implementation of
- IMethodReturn.
- </summary>
- <param name="returnValue">Return value to be placed in the IMethodReturn object.</param>
- <param name="outputs">All arguments passed or returned as out/byref to the method.
- Note that this is the entire argument list, including in parameters.</param>
- <returns>New IMethodReturn object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation.CreateExceptionMethodReturn(System.Exception)">
- <summary>
- Factory method that creates the correct implementation of
- IMethodReturn in the presence of an exception.
- </summary>
- <param name="ex">Exception to be set into the returned object.</param>
- <returns>New IMethodReturn object</returns>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation.Inputs">
- <summary>
- Gets the inputs for this call.
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation.Arguments">
- <summary>
- Collection of all parameters to the call: in, out and byref.
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation.InvocationContext">
- <summary>
- Retrieves a dictionary that can be used to store arbitrary additional
- values. This allows the user to pass values between call handlers.
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation.Target">
- <summary>
- The object that the call is made on.
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IMethodInvocation.MethodBase">
- <summary>
- The method on Target that we're aiming at.
- </summary>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.IMethodReturn">
- <summary>
- 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.
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IMethodReturn.Outputs">
- <summary>
- The collection of output parameters. If the method has no output
- parameters, this is a zero-length list (never null).
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IMethodReturn.ReturnValue">
- <summary>
- Returns value from the method call.
- </summary>
- <remarks>This value is null if the method has no return value.</remarks>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IMethodReturn.Exception">
- <summary>
- If the method threw an exception, the exception object is here.
- </summary>
- </member>
- <member name="P:Microsoft.Practices.Unity.InterceptionExtension.IMethodReturn.InvocationContext">
- <summary>
- Retrieves a dictionary that can be used to store arbitrary additional
- values. This allows the user to pass values between call handlers.
- </summary>
- <remarks>This is guaranteed to be the same dictionary that was used
- in the IMethodInvocation object, so handlers can set context
- properties in the pre-call phase and retrieve them in the after-call phase.
- </remarks>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.Interception">
- <summary>
- 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 <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.RuleDrivenPolicy"/> instances.
- </summary>
- <seealso cref="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetDefaultInterceptorFor(System.Type,Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor)"/>
- <seealso cref="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetDefaultInterceptorFor(System.Type,Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor)"/>
- <seealso cref="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor(System.Type,System.String,Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor)"/>
- <seealso cref="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor(System.Type,System.String,Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor)"/>
- <seealso cref="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.AddPolicy(System.String)"/>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.Initialize">
- <summary>
- Initial the container with this extension's functionality.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor(System.Type,System.String,Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor)">
- <summary>
- API to configure interception for a type.
- </summary>
- <param name="typeToIntercept">Type to intercept.</param>
- <param name="name">Name type is registered under.</param>
- <param name="interceptor">Interceptor to use.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor(System.Type,Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor)">
- <summary>
- API to configure interception for a type.
- </summary>
- <param name="typeToIntercept">Type to intercept.</param>
- <param name="interceptor">Interceptor to use.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor``1(System.String,Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor)">
- <summary>
- API to configure interception for a type.
- </summary>
- <typeparam name="T">Type to intercept</typeparam>
- <param name="name">Name type is registered under.</param>
- <param name="interceptor">Interceptor object to use.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor``1(Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor)">
- <summary>
- API to configure interception for a type.
- </summary>
- <typeparam name="T">Type to intercept</typeparam>
- <param name="interceptor">Interceptor object to use.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor(System.Type,System.String,Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor)">
- <summary>
- API to configure interception for a type.
- </summary>
- <param name="typeToIntercept">Type to intercept.</param>
- <param name="name">Name type is registered under.</param>
- <param name="interceptor">Instance interceptor to use.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetDefaultInterceptorFor(System.Type,Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor)">
- <summary>
- Set the interceptor for a type, regardless of what name is used to resolve the instances.
- </summary>
- <param name="typeToIntercept">Type to intercept</param>
- <param name="interceptor">Interceptor instance.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetDefaultInterceptorFor``1(Microsoft.Practices.Unity.InterceptionExtension.ITypeInterceptor)">
- <summary>
- Set the interceptor for a type, regardless of what name is used to resolve the instances.
- </summary>
- <typeparam name="TTypeToIntercept">Type to intercept</typeparam>
- <param name="interceptor">Interceptor instance.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor(System.Type,Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor)">
- <summary>
- API to configure interception for a type.
- </summary>
- <param name="typeToIntercept">Type to intercept.</param>
- <param name="interceptor">Instance interceptor to use.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor``1(System.String,Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor)">
- <summary>
- API to configure interception for a type.
- </summary>
- <typeparam name="T">Type to intercept.</typeparam>
- <param name="name">Name type is registered under.</param>
- <param name="interceptor">Instance interceptor to use.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetInterceptorFor``1(Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor)">
- <summary>
- API to configure interception for a type.
- </summary>
- <typeparam name="T">Type to intercept.</typeparam>
- <param name="interceptor">Instance interceptor to use.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetDefaultInterceptorFor(System.Type,Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor)">
- <summary>
- API to configure the default interception settings for a type.
- </summary>
- <param name="typeToIntercept">Type the interception is being configured for.</param>
- <param name="interceptor">The interceptor to use by default.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.SetDefaultInterceptorFor``1(Microsoft.Practices.Unity.InterceptionExtension.IInstanceInterceptor)">
- <summary>
- API to configure the default interception settings for a type.
- </summary>
- <typeparam name="TTypeToIntercept">Type the interception is being configured for.</typeparam>
- <param name="interceptor">The interceptor to use by default.</param>
- <returns>This extension object.</returns>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.Interception.AddPolicy(System.String)">
- <summary>
- Starts the definition of a new <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.RuleDrivenPolicy"/>.
- </summary>
- <param name="policyName"></param>
- <returns></returns>
- <remarks>This is a convenient way for defining a new policy and the <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.IMatchingRule"/>
- instances and <see cref="T:Microsoft.Practices.Unity.InterceptionExtension.ICallHandler"/> instances that are required by a policy.
- <para/>
- This mechanism is just a shortcut for what can be natively expressed by wiring up together objects
- with repeated calls to the
- <see cref="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor(System.Type,System.String,Microsoft.Practices.Unity.InjectionMember[])"/> method.
- </remarks>
- </member>
- <member name="T:Microsoft.Practices.Unity.InterceptionExtension.IParameterCollection">
- <summary>
- This interface represents a list of either input or output
- parameters. It implements a fixed size list, plus a couple
- of other utility methods.
- </summary>
- </member>
- <member name="M:Microsoft.Practices.Unity.InterceptionExtension.IParameterCollection.ParameterName(System.Int32)">
- <summary>
- G