C# 클래스 NProxy.Core.Internal.Reflection.Emit.MethodInfoTypeFactory

Represents a method information type factory.
상속: ITypeFactory
파일 보기 프로젝트 열기: mtamme/NProxy

공개 메소드들

메소드 설명
CreateType ( MethodInfo methodInfo ) : Type
MethodInfoTypeFactory ( ITypeRepository typeRepository ) : System

Initializes a new instance of the MethodInfoTypeFactory class.

비공개 메소드들

메소드 설명
BuildConstructor ( TypeBuilder typeBuilder, FieldInfo methodFieldInfo ) : void

Builds the constructor.

BuildInvokeMethod ( TypeBuilder typeBuilder, MethodInfo methodInfo, Type genericParameterTypes, bool isVirtual ) : void

Builds the invoke method.

BuildTypeInitializer ( TypeBuilder typeBuilder, MethodInfo methodInfo, Type genericParameterTypes, FieldInfo methodFieldInfo ) : void

Builds the type initializer.

LoadParameterValues ( ILGenerator ilGenerator, int argumentIndex, IList parameterTypes, IList parameterValueLocalBuilders ) : void

Loads the parameter values onto the stack.

RestoreByReferenceParameterValues ( ILGenerator ilGenerator, int argumentIndex, IList parameterTypes, IList parameterValueLocalBuilders ) : void

Restores the by reference parameter values.

메소드 상세

CreateType() 공개 메소드

public CreateType ( MethodInfo methodInfo ) : Type
methodInfo System.Reflection.MethodInfo
리턴 System.Type

MethodInfoTypeFactory() 공개 메소드

Initializes a new instance of the MethodInfoTypeFactory class.
public MethodInfoTypeFactory ( ITypeRepository typeRepository ) : System
typeRepository ITypeRepository The type repository.
리턴 System