C# 클래스 LinFu.Proxy.ProxyBuilder

A IProxyBuilder type that generates proxies that forward all virtual method calls to a single interceptor.
상속: IProxyBuilder, IInitialize
파일 보기 프로젝트 열기: philiplaureano/LinFu 1 사용 예제들

공개 메소드들

메소드 설명
Construct ( Type originalBaseType, IEnumerable baseInterfaces, Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition targetType ) : void

Generates a proxy that forwards all virtual method calls to a single IInterceptor instance.

Initialize ( IServiceContainer source ) : void

Initializes the current instance with the source container.

ProxyBuilder ( ) : System

Initializes the current class with the default values.

메소드 상세

Construct() 공개 메소드

Generates a proxy that forwards all virtual method calls to a single IInterceptor instance.
public Construct ( Type originalBaseType, IEnumerable baseInterfaces, Mono.Cecil.ModuleDefinition module, Mono.Cecil.TypeDefinition targetType ) : void
originalBaseType System.Type The base class of the type being constructed.
baseInterfaces IEnumerable The list of interfaces that the new type must implement.
module Mono.Cecil.ModuleDefinition The module that will hold the brand new type.
targetType Mono.Cecil.TypeDefinition The that represents the type to be created.
리턴 void

Initialize() 공개 메소드

Initializes the current instance with the source container.
public Initialize ( IServiceContainer source ) : void
source IServiceContainer The instance that will hold the current instance.
리턴 void

ProxyBuilder() 공개 메소드

Initializes the current class with the default values.
public ProxyBuilder ( ) : System
리턴 System