Share via


Interception Class

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.

Namespace:  Microsoft.Practices.Unity.InterceptionExtension
Assembly:  Microsoft.Practices.Unity.Interception (in Microsoft.Practices.Unity.Interception.dll)

Syntax

'Declaration
Public Class Interception _
    Inherits UnityContainerExtension
public class Interception : UnityContainerExtension
public ref class Interception : public UnityContainerExtension
public class Interception extends UnityContainerExtension

Inheritance Hierarchy

System.Object
  Microsoft.Practices.Unity.UnityContainerExtension
    Microsoft.Practices.Unity.InterceptionExtension.Interception

See Also

Interception Members

Microsoft.Practices.Unity.InterceptionExtension Namespace

Interception.SetDefaultInterceptorFor(Type, IInstanceInterceptor)

Interception.SetDefaultInterceptorFor(Type, ITypeInterceptor)

Interception.SetInterceptorFor(Type, String, IInstanceInterceptor)

Interception.SetInterceptorFor(Type, String, ITypeInterceptor)

Interception.AddPolicy(String)