C# Класс Yea.Reflection.Emit.ConstantBuilder

Helper class for defining a constant value
Наследование: Yea.Reflection.Emit.BaseClasses.VariableBase
Показать файл Открыть проект

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

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