C# Class Castle.DynamicProxy.Generators.InterfaceProxyWithTargetInterfaceGenerator

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

Public Methods

Method Description
InterfaceProxyWithTargetInterfaceGenerator ( ModuleScope scope, Type @interface ) : System

Protected Methods

Method Description
AddMappingForTargetType ( ITypeContributor>.IDictionary typeImplementerMapping, Type proxyTargetType, ICollection targetInterfaces, ICollection additionalInterfaces, INamingScope namingScope ) : ITypeContributor
GetContributorForAdditionalInterfaces ( INamingScope namingScope ) : InterfaceProxyWithoutTargetContributor

Private Methods

Method Description
GetTarget ( ClassEmitter @class, MethodInfo method ) : System.Reference
GetTargetExpression ( ClassEmitter @class, MethodInfo method ) : Expression

Method Details

AddMappingForTargetType() protected method

protected AddMappingForTargetType ( ITypeContributor>.IDictionary typeImplementerMapping, Type proxyTargetType, ICollection targetInterfaces, ICollection additionalInterfaces, INamingScope namingScope ) : ITypeContributor
typeImplementerMapping ITypeContributor>.IDictionary
proxyTargetType System.Type
targetInterfaces ICollection
additionalInterfaces ICollection
namingScope INamingScope
return ITypeContributor

GetContributorForAdditionalInterfaces() protected method

protected GetContributorForAdditionalInterfaces ( INamingScope namingScope ) : InterfaceProxyWithoutTargetContributor
namingScope INamingScope
return InterfaceProxyWithoutTargetContributor

InterfaceProxyWithTargetInterfaceGenerator() public method

public InterfaceProxyWithTargetInterfaceGenerator ( ModuleScope scope, Type @interface ) : System
scope ModuleScope
@interface System.Type
return System