Jagamisviis:


VirtualMethodInterceptor 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 type based interceptor that works by generated a new class on the fly that derives from the target class.

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

Syntax

'Declaration
Public Class VirtualMethodInterceptor _
    Implements ITypeInterceptor, IInterceptor
public class VirtualMethodInterceptor : ITypeInterceptor, 
    IInterceptor
public ref class VirtualMethodInterceptor : ITypeInterceptor, 
    IInterceptor
public class VirtualMethodInterceptor implements ITypeInterceptor, IInterceptor

Inheritance Hierarchy

System.Object
  Microsoft.Practices.Unity.InterceptionExtension.VirtualMethodInterceptor

See Also

VirtualMethodInterceptor Members

Microsoft.Practices.Unity.InterceptionExtension Namespace