C# Класс Dlp.Framework.Container.Proxies.ProxyFactory

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Create ( IDynamicProxy handler, Type objType, Type aditionalInterfaces = null ) : object
GetInstance ( ) : ProxyFactory

Creates a new instance of the ProxyFactory.

Приватные методы

Метод Описание
CreateInstance ( ) : void
CreateType ( IDynamicProxy handler, Type interfaces, string dynamicTypeName ) : Type
GenerateMethod ( Type interfaceType, FieldBuilder handlerField, TypeBuilder typeBuilder ) : void
ProxyFactory ( ) : System

Initialize the value type mapper. This is needed for methods with intrinsic return types, used in the Emit process.

Описание методов

Create() публичный Метод

public Create ( IDynamicProxy handler, Type objType, Type aditionalInterfaces = null ) : object
handler IDynamicProxy
objType System.Type
aditionalInterfaces System.Type
Результат object

GetInstance() публичный статический Метод

Creates a new instance of the ProxyFactory.
public static GetInstance ( ) : ProxyFactory
Результат ProxyFactory