C# 클래스 Yea.Reflection.Emit.FieldBuilder

Helper class for defining a field within a type
상속: Yea.Reflection.Emit.BaseClasses.VariableBase
파일 보기 프로젝트 열기: OxPatient/Rule-Engine 1 사용 예제들

공개 메소드들

메소드 설명
FieldBuilder ( TypeBuilder typeBuilder, string name, Type fieldType, FieldAttributes attributes ) : System

Constructor

GetDefinition ( ) : string

Gets the definition of the field

Load ( ILGenerator generator ) : void

Loads the field

Save ( ILGenerator generator ) : void

Saves the field

ToString ( ) : string

The field as a string

operator ( ) : FieldBuilder

Increments the field by one

메소드 상세

FieldBuilder() 공개 메소드

Constructor
public FieldBuilder ( TypeBuilder typeBuilder, string name, Type fieldType, FieldAttributes attributes ) : System
typeBuilder TypeBuilder Type builder
name string Name of the method
fieldType System.Type Type for the field
attributes FieldAttributes Attributes for the field (public, private, etc.)
리턴 System

GetDefinition() 공개 메소드

Gets the definition of the field
public GetDefinition ( ) : string
리턴 string

Load() 공개 메소드

Loads the field
public Load ( ILGenerator generator ) : void
generator System.Reflection.Emit.ILGenerator IL Generator
리턴 void

Save() 공개 메소드

Saves the field
public Save ( ILGenerator generator ) : void
generator System.Reflection.Emit.ILGenerator IL Generator
리턴 void

ToString() 공개 메소드

The field as a string
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

Increments the field by one
public static operator ( ) : FieldBuilder
리턴 FieldBuilder