C# Класс CSE.Exps.TempIdentifierExp

Used for storing temporary identifiers declared in the given expression
Not fully supported yet!
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddIdent ( Type type, string name ) : void

Adds a temporary identifier of the given type and name

AddIdent ( Type type, string name, dynamic initValue ) : void

Adds a temporary identifier of the given type and name and initializes it to the given initValue

Assign ( string name, object value ) : void

Assigns the given value to the temporary identifier of the given name

Lookup ( string name ) : CseObject

Looks up temporary identifier of the given name and returns it

Описание методов

AddIdent() публичный статический Метод

Adds a temporary identifier of the given type and name
public static AddIdent ( Type type, string name ) : void
type System.Type Type of identifier
name string Name of identifier
Результат void

AddIdent() публичный статический Метод

Adds a temporary identifier of the given type and name and initializes it to the given initValue
public static AddIdent ( Type type, string name, dynamic initValue ) : void
type System.Type Type of identifier
name string Name of identifier
initValue dynamic Initial value of identifer
Результат void

Assign() публичный статический Метод

Assigns the given value to the temporary identifier of the given name
public static Assign ( string name, object value ) : void
name string Identifier name
value object Value to assign identifier
Результат void

Lookup() публичный статический Метод

Looks up temporary identifier of the given name and returns it
public static Lookup ( string name ) : CseObject
name string Identifier name to look up
Результат CseObject