C# Класс NProxy.Core.Internal.Reflection.Emit.MethodInfoTypeFactory

Represents a method information type factory.
Наследование: ITypeFactory
Показать файл Открыть проект

Открытые методы

Метод Описание
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