C# 클래스 Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator

상속: BaseProxyGenerator
파일 보기 프로젝트 열기: Jarvin-Guan/CleanAOP 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
targetField Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference

공개 메소드들

메소드 설명
GenerateCode ( Type proxyTargetType, Type interfaces, ProxyGenerationOptions options ) : Type
InterfaceProxyWithTargetGenerator ( ModuleScope scope, Type @interface ) : System

보호된 메소드들

메소드 설명
AddMappingForTargetType ( ITypeContributor>.IDictionary typeImplementerMapping, Type proxyTargetType, ICollection targetInterfaces, ICollection additionalInterfaces, INamingScope namingScope ) : ITypeContributor
CreateTypeAttributes ( ClassEmitter emitter ) : void
GenerateType ( string typeName, Type proxyTargetType, Type interfaces, INamingScope namingScope ) : Type
GetContributorForAdditionalInterfaces ( INamingScope namingScope ) : InterfaceProxyWithoutTargetContributor
GetTypeImplementerMapping ( Type interfaces, Type proxyTargetType, IEnumerable &contributors, INamingScope namingScope ) : IEnumerable
Init ( string typeName, ClassEmitter &emitter, Type proxyTargetType, FieldReference &interceptorsField, IEnumerable interfaces ) : Type

비공개 메소드들

메소드 설명
CreateFields ( ClassEmitter emitter, Type proxyTargetType ) : void
EnsureValidBaseType ( Type type ) : void
ImplementedByTarget ( ICollection targetInterfaces, Type @interface ) : bool
ThrowInvalidBaseType ( Type type, string doesNotHaveAccessibleParameterlessConstructor ) : void

메소드 상세

AddMappingForTargetType() 보호된 메소드

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
리턴 ITypeContributor

CreateTypeAttributes() 보호된 메소드

protected CreateTypeAttributes ( ClassEmitter emitter ) : void
emitter Castle.DynamicProxy.Generators.Emitters.ClassEmitter
리턴 void

GenerateCode() 공개 메소드

public GenerateCode ( Type proxyTargetType, Type interfaces, ProxyGenerationOptions options ) : Type
proxyTargetType System.Type
interfaces System.Type
options ProxyGenerationOptions
리턴 System.Type

GenerateType() 보호된 메소드

protected GenerateType ( string typeName, Type proxyTargetType, Type interfaces, INamingScope namingScope ) : Type
typeName string
proxyTargetType System.Type
interfaces System.Type
namingScope INamingScope
리턴 System.Type

GetContributorForAdditionalInterfaces() 보호된 메소드

protected GetContributorForAdditionalInterfaces ( INamingScope namingScope ) : InterfaceProxyWithoutTargetContributor
namingScope INamingScope
리턴 Castle.DynamicProxy.Contributors.InterfaceProxyWithoutTargetContributor

GetTypeImplementerMapping() 보호된 메소드

protected GetTypeImplementerMapping ( Type interfaces, Type proxyTargetType, IEnumerable &contributors, INamingScope namingScope ) : IEnumerable
interfaces System.Type
proxyTargetType System.Type
contributors IEnumerable
namingScope INamingScope
리턴 IEnumerable

Init() 보호된 메소드

protected Init ( string typeName, ClassEmitter &emitter, Type proxyTargetType, FieldReference &interceptorsField, IEnumerable interfaces ) : Type
typeName string
emitter Castle.DynamicProxy.Generators.Emitters.ClassEmitter
proxyTargetType System.Type
interceptorsField Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference
interfaces IEnumerable
리턴 System.Type

InterfaceProxyWithTargetGenerator() 공개 메소드

public InterfaceProxyWithTargetGenerator ( ModuleScope scope, Type @interface ) : System
scope ModuleScope
@interface System.Type
리턴 System

프로퍼티 상세

targetField 보호되어 있는 프로퍼티

protected FieldReference,Castle.DynamicProxy.Generators.Emitters.SimpleAST targetField
리턴 Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference