C# 클래스 NHibernate.Bytecode.Lightweight.ReflectionOptimizer

상속: IReflectionOptimizer, IInstantiationOptimizer
파일 보기 프로젝트 열기: nhibernate/nhibernate-core

보호된 프로퍼티들

프로퍼티 타입 설명
mappedType System.Type

공개 메소드들

메소드 설명
CreateInstance ( ) : object
ReflectionOptimizer ( System mappedType, IGetter getters, ISetter setters ) : System.Reflection

Class constructor.

보호된 메소드들

메소드 설명
CreateCreateInstanceMethod ( System type ) : CreateInstanceInvoker

Generates a dynamic method which creates a new instance of type when invoked.

CreateDynamicMethod ( System returnType, System argumentTypes ) : DynamicMethod
ThrowExceptionForNoDefaultCtor ( System type ) : void

비공개 메소드들

메소드 설명
EmitCastToReference ( ILGenerator il, System type ) : void
GenerateGetPropertyValuesMethod ( IGetter getters ) : GetPropertyValuesInvoker

Generates a dynamic method on the given type.

GenerateSetPropertyValuesMethod ( IGetter getters, ISetter setters ) : SetPropertyValuesInvoker

Generates a dynamic method on the given type.

메소드 상세

CreateCreateInstanceMethod() 보호된 메소드

Generates a dynamic method which creates a new instance of type when invoked.
protected CreateCreateInstanceMethod ( System type ) : CreateInstanceInvoker
type System
리턴 CreateInstanceInvoker

CreateDynamicMethod() 보호된 메소드

protected CreateDynamicMethod ( System returnType, System argumentTypes ) : DynamicMethod
returnType System
argumentTypes System
리턴 System.Reflection.Emit.DynamicMethod

CreateInstance() 공개 메소드

public CreateInstance ( ) : object
리턴 object

ReflectionOptimizer() 공개 메소드

Class constructor.
public ReflectionOptimizer ( System mappedType, IGetter getters, ISetter setters ) : System.Reflection
mappedType System
getters IGetter
setters ISetter
리턴 System.Reflection

ThrowExceptionForNoDefaultCtor() 보호된 메소드

protected ThrowExceptionForNoDefaultCtor ( System type ) : void
type System
리턴 void

프로퍼티 상세

mappedType 보호되어 있는 프로퍼티

protected System.Type mappedType
리턴 System.Type