C# Class Yea.Reflection.Emit.ConstantBuilder

Helper class for defining a constant value
Inheritance: Yea.Reflection.Emit.BaseClasses.VariableBase
Show file Open project: OxPatient/Rule-Engine

Public Methods

Method Description
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

Method Details

ConstantBuilder() public method

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

GetDefinition() public method

Get the definition of the constant
public GetDefinition ( ) : string
return string

Load() public method

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

Save() public method

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

ToString() public method

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