C# Class Castle.DynamicProxy.Contributors.ClassProxyWithTargetTargetContributor

Inheritance: CompositeTypeContributor
Show file Open project: Jarvin-Guan/CleanAOP Class Usage Examples

Public Methods

Method Description
ClassProxyWithTargetTargetContributor ( Type targetType, IList methodsToSkip, INamingScope namingScope ) : System

Protected Methods

Method Description
CollectElementsToProxyInternal ( IProxyGenerationHook hook ) : IEnumerable
GetMethodGenerator ( MetaMethod method, ClassEmitter @class, ProxyGenerationOptions options, OverrideMethodDelegate overrideMethod ) : MethodGenerator

Private Methods

Method Description
BuildInvocationType ( MetaMethod method, ClassEmitter @class, ProxyGenerationOptions options ) : Type
GetContributor ( Type @delegate, MetaMethod method ) : IInvocationCreationContributor
GetDelegateType ( MetaMethod method, ClassEmitter @class, ProxyGenerationOptions options ) : Type
GetInvocationType ( MetaMethod method, ClassEmitter @class, ProxyGenerationOptions options ) : Type
IndirectlyCalledMethodGenerator ( MetaMethod method, ClassEmitter proxy, ProxyGenerationOptions options, OverrideMethodDelegate overrideMethod ) : MethodGenerator
IsDirectlyAccessible ( MetaMethod method ) : bool

Method Details

ClassProxyWithTargetTargetContributor() public method

public ClassProxyWithTargetTargetContributor ( Type targetType, IList methodsToSkip, INamingScope namingScope ) : System
targetType System.Type
methodsToSkip IList
namingScope INamingScope
return System

CollectElementsToProxyInternal() protected method

protected CollectElementsToProxyInternal ( IProxyGenerationHook hook ) : IEnumerable
hook IProxyGenerationHook
return IEnumerable

GetMethodGenerator() protected method

protected GetMethodGenerator ( MetaMethod method, ClassEmitter @class, ProxyGenerationOptions options, OverrideMethodDelegate overrideMethod ) : MethodGenerator
method MetaMethod
@class Castle.DynamicProxy.Generators.Emitters.ClassEmitter
options ProxyGenerationOptions
overrideMethod OverrideMethodDelegate
return MethodGenerator