C# 클래스 Platform.Invoke.DefaultConstructorBuilder

상속: IConstructorBuilder
파일 보기 프로젝트 열기: GeirGrusom/PlatformInvoker

공개 메소드들

메소드 설명
DefaultConstructorBuilder ( string>.Func lookupFunctionName ) : System

GenerateConstructor ( TypeBuilder owner, Type interfaceType, IEnumerable methods, IEnumerable fields ) : ConstructorBuilder

Generates the constructor using the specified arguments.

보호된 메소드들

메소드 설명
DefineConstructor ( TypeBuilder owner, Type interfaceType ) : ConstructorBuilder

Creates the constructor builder.

EmitBegin ( TypeBuilder type, Type interfaceType, ILGenerator generator ) : void

Method is invoked at start of constructor generator.

EmitEnd ( TypeBuilder type, Type interfaceType, ILGenerator generator ) : void

Method is invoked at the end of the constructor generator.

메소드 상세

DefaultConstructorBuilder() 공개 메소드

public DefaultConstructorBuilder ( string>.Func lookupFunctionName ) : System
lookupFunctionName string>.Func Supplies a function lookup name transformation. Set this to null to use the method name verbatim.
리턴 System

DefineConstructor() 보호된 메소드

Creates the constructor builder.
protected DefineConstructor ( TypeBuilder owner, Type interfaceType ) : ConstructorBuilder
owner System.Reflection.Emit.TypeBuilder Owner type to create constructor for.
interfaceType System.Type
리턴 System.Reflection.Emit.ConstructorBuilder

EmitBegin() 보호된 메소드

Method is invoked at start of constructor generator.
protected EmitBegin ( TypeBuilder type, Type interfaceType, ILGenerator generator ) : void
type System.Reflection.Emit.TypeBuilder
interfaceType System.Type
generator System.Reflection.Emit.ILGenerator
리턴 void

EmitEnd() 보호된 메소드

Method is invoked at the end of the constructor generator.
protected EmitEnd ( TypeBuilder type, Type interfaceType, ILGenerator generator ) : void
type System.Reflection.Emit.TypeBuilder
interfaceType System.Type
generator System.Reflection.Emit.ILGenerator
리턴 void

GenerateConstructor() 공개 메소드

Generates the constructor using the specified arguments.
public GenerateConstructor ( TypeBuilder owner, Type interfaceType, IEnumerable methods, IEnumerable fields ) : ConstructorBuilder
owner System.Reflection.Emit.TypeBuilder
interfaceType System.Type
methods IEnumerable
fields IEnumerable
리턴 System.Reflection.Emit.ConstructorBuilder