C# Класс Castle.DynamicProxy.DefaultProxyBuilder

Default implementation of IProxyBuilder interface producing in-memory proxy assemblies.
Наследование: IProxyBuilder
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateClassProxyType ( Type classToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
CreateClassProxyTypeWithTarget ( Type classToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
CreateInterfaceProxyTypeWithTarget ( Type interfaceToProxy, Type additionalInterfacesToProxy, Type targetType, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
CreateInterfaceProxyTypeWithTargetInterface ( Type interfaceToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
CreateInterfaceProxyTypeWithoutTarget ( Type interfaceToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
DefaultProxyBuilder ( ) : System

Initializes a new instance of the DefaultProxyBuilder class with new ModuleScope.

DefaultProxyBuilder ( ModuleScope scope ) : System

Initializes a new instance of the DefaultProxyBuilder class.

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

Метод Описание
AssertValidType ( Type target ) : void
AssertValidTypes ( IEnumerable targetTypes ) : void
IsAccessible ( Type target ) : bool
IsInternal ( Type target ) : bool
IsPublic ( Type target ) : bool

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

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

public CreateClassProxyType ( Type classToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
classToProxy System.Type
additionalInterfacesToProxy System.Type
options Castle.DynamicProxy.ProxyGenerationOptions
Результат System.Type

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

public CreateClassProxyTypeWithTarget ( Type classToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
classToProxy System.Type
additionalInterfacesToProxy System.Type
options Castle.DynamicProxy.ProxyGenerationOptions
Результат System.Type

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

public CreateInterfaceProxyTypeWithTarget ( Type interfaceToProxy, Type additionalInterfacesToProxy, Type targetType, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
interfaceToProxy System.Type
additionalInterfacesToProxy System.Type
targetType System.Type
options Castle.DynamicProxy.ProxyGenerationOptions
Результат System.Type

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

public CreateInterfaceProxyTypeWithTargetInterface ( Type interfaceToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
interfaceToProxy System.Type
additionalInterfacesToProxy System.Type
options Castle.DynamicProxy.ProxyGenerationOptions
Результат System.Type

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

public CreateInterfaceProxyTypeWithoutTarget ( Type interfaceToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
interfaceToProxy System.Type
additionalInterfacesToProxy System.Type
options Castle.DynamicProxy.ProxyGenerationOptions
Результат System.Type

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

Initializes a new instance of the DefaultProxyBuilder class with new ModuleScope.
public DefaultProxyBuilder ( ) : System
Результат System

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

Initializes a new instance of the DefaultProxyBuilder class.
public DefaultProxyBuilder ( ModuleScope scope ) : System
scope ModuleScope The module scope for generated proxy types.
Результат System