C# Class LinFu.Proxy.ProxyBuilder

A IProxyBuilder type that generates proxies that forward all virtual method calls to a single interceptor.
Inheritance: IProxyBuilder, IInitialize
Mostrar archivo Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
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.

Method Details

Construct() public method

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.
return void

Initialize() public method

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

ProxyBuilder() public method

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