C# 클래스 Castle.DynamicProxy.Builder.CodeGenerators.InterfaceProxyGenerator

상속: BaseCodeGenerator
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_targetField Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.FieldReference
_targetType System.Type

공개 메소드들

메소드 설명
GenerateCode ( Type interfaces, Type targetType ) : Type
InterfaceProxyGenerator ( ModuleScope scope ) : System
InterfaceProxyGenerator ( ModuleScope scope, GeneratorContext context ) : System

보호된 메소드들

메소드 설명
CreateProperty ( PropertyInfo property ) : EasyProperty
CustomizeGetObjectData ( Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder codebuilder, ArgumentReference arg1, ArgumentReference arg2 ) : void
GenerateCallbackMethodIfNecessary ( MethodInfo method, Reference invocationTarget ) : MethodInfo
GenerateConstructor ( ) : EasyConstructor

Generates one public constructor receiving the IInterceptor instance and instantiating a HybridCollection

GenerateFields ( ) : void
GenerateTypeName ( Type type, Type interfaces ) : String
GetCorrectMethod ( MethodInfo method ) : MethodInfo

From an interface method (abstract) look up for a matching method on the target

GetPseudoInvocationTarget ( MethodInfo method ) : Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.Expression
Join ( Type interfaces, Type mixinInterfaces ) : System.Type[]

비공개 메소드들

메소드 설명
CreateInterceptorProperty ( PropertyInfo propertyInfo ) : EasyProperty

메소드 상세

CreateProperty() 보호된 메소드

protected CreateProperty ( PropertyInfo property ) : EasyProperty
property System.Reflection.PropertyInfo
리턴 Castle.DynamicProxy.Builder.CodeBuilder.EasyProperty

CustomizeGetObjectData() 보호된 메소드

protected CustomizeGetObjectData ( Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder codebuilder, ArgumentReference arg1, ArgumentReference arg2 ) : void
codebuilder Castle.DynamicProxy.Builder.CodeBuilder.AbstractCodeBuilder
arg1 Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.ArgumentReference
arg2 Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.ArgumentReference
리턴 void

GenerateCallbackMethodIfNecessary() 보호된 메소드

protected GenerateCallbackMethodIfNecessary ( MethodInfo method, Reference invocationTarget ) : MethodInfo
method System.Reflection.MethodInfo
invocationTarget Reference
리턴 System.Reflection.MethodInfo

GenerateCode() 공개 메소드

public GenerateCode ( Type interfaces, Type targetType ) : Type
interfaces System.Type
targetType System.Type
리턴 System.Type

GenerateConstructor() 보호된 메소드

Generates one public constructor receiving the IInterceptor instance and instantiating a HybridCollection
protected GenerateConstructor ( ) : EasyConstructor
리턴 Castle.DynamicProxy.Builder.CodeBuilder.EasyConstructor

GenerateFields() 보호된 메소드

protected GenerateFields ( ) : void
리턴 void

GenerateTypeName() 보호된 메소드

protected GenerateTypeName ( Type type, Type interfaces ) : String
type System.Type
interfaces System.Type
리턴 String

GetCorrectMethod() 보호된 메소드

From an interface method (abstract) look up for a matching method on the target
protected GetCorrectMethod ( MethodInfo method ) : MethodInfo
method System.Reflection.MethodInfo
리턴 System.Reflection.MethodInfo

GetPseudoInvocationTarget() 보호된 메소드

protected GetPseudoInvocationTarget ( MethodInfo method ) : Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.Expression
method System.Reflection.MethodInfo
리턴 Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.Expression

InterfaceProxyGenerator() 공개 메소드

public InterfaceProxyGenerator ( ModuleScope scope ) : System
scope ModuleScope
리턴 System

InterfaceProxyGenerator() 공개 메소드

public InterfaceProxyGenerator ( ModuleScope scope, GeneratorContext context ) : System
scope ModuleScope
context GeneratorContext
리턴 System

Join() 보호된 메소드

protected Join ( Type interfaces, Type mixinInterfaces ) : System.Type[]
interfaces System.Type
mixinInterfaces System.Type
리턴 System.Type[]

프로퍼티 상세

_targetField 보호되어 있는 프로퍼티

protected FieldReference,Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST _targetField
리턴 Castle.DynamicProxy.Builder.CodeBuilder.SimpleAST.FieldReference

_targetType 보호되어 있는 프로퍼티

protected Type,System _targetType
리턴 System.Type