C# Class Castle.DynamicProxy.DefaultProxyBuilder

Default implementation of IProxyBuilder interface producing in-memory proxy assemblies.
Inheritance: IProxyBuilder
Afficher le fichier Open project: Jarvin-Guan/CleanAOP Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
AssertValidType ( Type target ) : void
AssertValidTypes ( IEnumerable targetTypes ) : void
IsAccessible ( Type target ) : bool
IsInternal ( Type target ) : bool
IsPublic ( Type target ) : bool

Method Details

CreateClassProxyType() public méthode

public CreateClassProxyType ( Type classToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
classToProxy System.Type
additionalInterfacesToProxy System.Type
options Castle.DynamicProxy.ProxyGenerationOptions
Résultat System.Type

CreateClassProxyTypeWithTarget() public méthode

public CreateClassProxyTypeWithTarget ( Type classToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
classToProxy System.Type
additionalInterfacesToProxy System.Type
options Castle.DynamicProxy.ProxyGenerationOptions
Résultat System.Type

CreateInterfaceProxyTypeWithTarget() public méthode

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

CreateInterfaceProxyTypeWithTargetInterface() public méthode

public CreateInterfaceProxyTypeWithTargetInterface ( Type interfaceToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
interfaceToProxy System.Type
additionalInterfacesToProxy System.Type
options Castle.DynamicProxy.ProxyGenerationOptions
Résultat System.Type

CreateInterfaceProxyTypeWithoutTarget() public méthode

public CreateInterfaceProxyTypeWithoutTarget ( Type interfaceToProxy, Type additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options ) : Type
interfaceToProxy System.Type
additionalInterfacesToProxy System.Type
options Castle.DynamicProxy.ProxyGenerationOptions
Résultat System.Type

DefaultProxyBuilder() public méthode

Initializes a new instance of the DefaultProxyBuilder class with new ModuleScope.
public DefaultProxyBuilder ( ) : System
Résultat System

DefaultProxyBuilder() public méthode

Initializes a new instance of the DefaultProxyBuilder class.
public DefaultProxyBuilder ( ModuleScope scope ) : System
scope ModuleScope The module scope for generated proxy types.
Résultat System