C# Class LinFu.Proxy.ProxyBuilder

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

Initialize() public méthode

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

ProxyBuilder() public méthode

Initializes the current class with the default values.
public ProxyBuilder ( ) : System
Résultat System