C# 클래스 NProxy.Core.ProxyTypeBuilder

Represents a proxy type builder.
상속: ITypeBuilder
파일 보기 프로젝트 열기: mtamme/NProxy

공개 메소드들

메소드 설명
AddCustomAttribute ( ConstructorInfo constructorInfo ) : void
AddInterface ( Type interfaceType ) : void
BuildConstructor ( ConstructorInfo constructorInfo ) : void
BuildEvent ( EventInfo eventInfo ) : void
BuildMethod ( MethodInfo methodInfo ) : void
BuildProperty ( PropertyInfo propertyInfo ) : void
CreateType ( ) : Type
IsConcreteEvent ( EventInfo eventInfo ) : bool
IsConcreteMethod ( MethodInfo methodInfo ) : bool
IsConcreteProperty ( PropertyInfo propertyInfo ) : bool
ProxyTypeBuilder ( ITypeRepository typeRepository, Type parentType ) : System

Initializes a new instance of the ProxyTypeBuilder class.

비공개 메소드들

메소드 설명
BuildInterceptedMethod ( MethodInfo methodInfo, bool isExplicit ) : MethodBuilder

Builds an intercepted method based on the specified method.

GetMethodInfoConstructor ( MethodInfo methodInfo, Type genericParameterTypes ) : ConstructorInfo

Returns a constructor information for the specified method.

IsExplicitMember ( MemberInfo memberInfo ) : bool

Returns a value indicating whether the specified member should be implemented explicitly.

IsOverrideMember ( MemberInfo memberInfo ) : bool

Returns a value indicating whether the specified member should be overridden.

LoadArguments ( ILGenerator ilGenerator, IList parameterTypes, LocalBuilder parametersLocalBuilder ) : void

Loads the arguments onto the stack.

RestoreByReferenceArguments ( ILGenerator ilGenerator, IList parameterTypes, LocalBuilder parametersLocalBuilder ) : void

Restores the by reference arguments.

메소드 상세

AddCustomAttribute() 공개 메소드

public AddCustomAttribute ( ConstructorInfo constructorInfo ) : void
constructorInfo System.Reflection.ConstructorInfo
리턴 void

AddInterface() 공개 메소드

public AddInterface ( Type interfaceType ) : void
interfaceType System.Type
리턴 void

BuildConstructor() 공개 메소드

public BuildConstructor ( ConstructorInfo constructorInfo ) : void
constructorInfo System.Reflection.ConstructorInfo
리턴 void

BuildEvent() 공개 메소드

public BuildEvent ( EventInfo eventInfo ) : void
eventInfo System.Reflection.EventInfo
리턴 void

BuildMethod() 공개 메소드

public BuildMethod ( MethodInfo methodInfo ) : void
methodInfo System.Reflection.MethodInfo
리턴 void

BuildProperty() 공개 메소드

public BuildProperty ( PropertyInfo propertyInfo ) : void
propertyInfo System.Reflection.PropertyInfo
리턴 void

CreateType() 공개 메소드

public CreateType ( ) : Type
리턴 System.Type

IsConcreteEvent() 공개 메소드

public IsConcreteEvent ( EventInfo eventInfo ) : bool
eventInfo System.Reflection.EventInfo
리턴 bool

IsConcreteMethod() 공개 메소드

public IsConcreteMethod ( MethodInfo methodInfo ) : bool
methodInfo System.Reflection.MethodInfo
리턴 bool

IsConcreteProperty() 공개 메소드

public IsConcreteProperty ( PropertyInfo propertyInfo ) : bool
propertyInfo System.Reflection.PropertyInfo
리턴 bool

ProxyTypeBuilder() 공개 메소드

Initializes a new instance of the ProxyTypeBuilder class.
public ProxyTypeBuilder ( ITypeRepository typeRepository, Type parentType ) : System
typeRepository ITypeRepository The type repository.
parentType System.Type The parent type.
리턴 System