TypeInterceptionStrategy Class

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.

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.

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

Syntax

'Declaration
Public Class TypeInterceptionStrategy _
    Inherits BuilderStrategy
public class TypeInterceptionStrategy : BuilderStrategy
public ref class TypeInterceptionStrategy : public BuilderStrategy
public class TypeInterceptionStrategy extends BuilderStrategy

Inheritance Hierarchy

System.Object
  Microsoft.Practices.ObjectBuilder2.BuilderStrategy
    Microsoft.Practices.Unity.InterceptionExtension.TypeInterceptionStrategy

See Also

TypeInterceptionStrategy Members

Microsoft.Practices.Unity.InterceptionExtension Namespace