C# Класс LinFu.Proxy.ProxyBuilder

A IProxyBuilder type that generates proxies that forward all virtual method calls to a single interceptor.
Наследование: IProxyBuilder, IInitialize
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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