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

Helper class for defining a constant value
상속: Yea.Reflection.Emit.BaseClasses.VariableBase
파일 보기 프로젝트 열기: OxPatient/Rule-Engine

공개 메소드들

메소드 설명
ConstantBuilder ( object value ) : System

Constructor

GetDefinition ( ) : string

Get the definition of the constant

Load ( ILGenerator generator ) : void

Loads the constant

Save ( ILGenerator generator ) : void

Saves the constant

ToString ( ) : string

The definition of the constant as a string

메소드 상세

ConstantBuilder() 공개 메소드

Constructor
public ConstantBuilder ( object value ) : System
value object Value of the constant
리턴 System

GetDefinition() 공개 메소드

Get the definition of the constant
public GetDefinition ( ) : string
리턴 string

Load() 공개 메소드

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

Save() 공개 메소드

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

ToString() 공개 메소드

The definition of the constant as a string
public ToString ( ) : string
리턴 string