C# Class Castle.DynamicProxy.Generators.ClassProxyGenerator

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

Public Methods

Method Description
ClassProxyGenerator ( ModuleScope scope, Type targetType ) : System
GenerateCode ( Type interfaces, ProxyGenerationOptions options ) : Type

Protected Methods

Method Description
GenerateType ( string name, Type interfaces, INamingScope namingScope ) : Type
GetTypeImplementerMapping ( Type interfaces, IEnumerable &contributors, INamingScope namingScope ) : IEnumerable

Private Methods

Method Description
EnsureDoesNotImplementIProxyTargetAccessor ( Type type, string name ) : void

Method Details

ClassProxyGenerator() public method

public ClassProxyGenerator ( ModuleScope scope, Type targetType ) : System
scope ModuleScope
targetType System.Type
return System

GenerateCode() public method

public GenerateCode ( Type interfaces, ProxyGenerationOptions options ) : Type
interfaces System.Type
options ProxyGenerationOptions
return System.Type

GenerateType() protected method

protected GenerateType ( string name, Type interfaces, INamingScope namingScope ) : Type
name string
interfaces System.Type
namingScope INamingScope
return System.Type

GetTypeImplementerMapping() protected method

protected GetTypeImplementerMapping ( Type interfaces, IEnumerable &contributors, INamingScope namingScope ) : IEnumerable
interfaces System.Type
contributors IEnumerable
namingScope INamingScope
return IEnumerable