C# Class Castle.DynamicProxy.Generators.ClassProxyWithTargetGenerator

Inheritance: BaseProxyGenerator
Datei anzeigen Open project: Jarvin-Guan/CleanAOP Class Usage Examples

Public Methods

Method Description
ClassProxyWithTargetGenerator ( ModuleScope scope, Type classToProxy, Type additionalInterfacesToProxy, ProxyGenerationOptions options ) : System
GetGeneratedType ( ) : Type

Protected Methods

Method Description
GetTypeImplementerMapping ( IEnumerable &contributors, INamingScope namingScope ) : IEnumerable

Private Methods

Method Description
CreateTargetField ( ClassEmitter emitter ) : FieldReference
EnsureDoesNotImplementIProxyTargetAccessor ( Type type, string name ) : void
GenerateType ( string name, INamingScope namingScope ) : Type

Method Details

ClassProxyWithTargetGenerator() public method

public ClassProxyWithTargetGenerator ( ModuleScope scope, Type classToProxy, Type additionalInterfacesToProxy, ProxyGenerationOptions options ) : System
scope ModuleScope
classToProxy System.Type
additionalInterfacesToProxy System.Type
options ProxyGenerationOptions
return System

GetGeneratedType() public method

public GetGeneratedType ( ) : Type
return Type

GetTypeImplementerMapping() protected method

protected GetTypeImplementerMapping ( IEnumerable &contributors, INamingScope namingScope ) : IEnumerable
contributors IEnumerable
namingScope INamingScope
return IEnumerable