C# Класс YAMP.ObjectValue

The class for representing an object value.
Наследование: Value, IFunction, ISetFunction
Показать файл Открыть проект

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

Метод Описание
Copy ( ) : Value

Returns a copy of this object value instance.

Deserialize ( Byte content ) : Value

Creates a new object value from the binary content.

ObjectValue ( ) : System

Creates a new instance.

ObjectValue ( Value>.IDictionary values ) : System

Creates a new instance and sets the values.

ObjectValue ( Object values ) : System

Creates a new instance and sets the values.

Perform ( ParseContext context, Value argument ) : Value

The method used by YAMP to get a value from an object.

Perform ( ParseContext context, Value argument, Value value ) : Value

Method used by YAMP to set a value to an object.

Serialize ( ) : Byte[]

Converts the given value into binary data.

ToString ( ParseContext context ) : String

Returns the string content of this instance.

this ( String key ) : Value

Gets or sets the value for the given key.

Защищенные методы

Метод Описание
RegisterOperators ( ) : void

Registers the member operator.

Приватные методы

Метод Описание
GetValue ( StringValue key ) : Value
Intend ( String value ) : String
SetValue ( StringValue key, Value value ) : Value

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

Copy() публичный Метод

Returns a copy of this object value instance.
public Copy ( ) : Value
Результат Value

Deserialize() публичный Метод

Creates a new object value from the binary content.
public Deserialize ( Byte content ) : Value
content Byte The data which contains the content.
Результат Value

ObjectValue() публичный Метод

Creates a new instance.
public ObjectValue ( ) : System
Результат System

ObjectValue() публичный Метод

Creates a new instance and sets the values.
public ObjectValue ( Value>.IDictionary values ) : System
values Value>.IDictionary The initial values to use.
Результат System

ObjectValue() публичный Метод

Creates a new instance and sets the values.
public ObjectValue ( Object values ) : System
values Object The initial values to use.
Результат System

Perform() публичный Метод

The method used by YAMP to get a value from an object.
public Perform ( ParseContext context, Value argument ) : Value
context ParseContext The context where this is happening.
argument Value The key of the value to retrieve.
Результат Value

Perform() публичный Метод

Method used by YAMP to set a value to an object.
public Perform ( ParseContext context, Value argument, Value value ) : Value
context ParseContext The context where this is happening.
argument Value The key of the value to retrieve.
value Value The value to set.
Результат Value

RegisterOperators() защищенный Метод

Registers the member operator.
protected RegisterOperators ( ) : void
Результат void

Serialize() публичный Метод

Converts the given value into binary data.
public Serialize ( ) : Byte[]
Результат Byte[]

ToString() публичный Метод

Returns the string content of this instance.
public ToString ( ParseContext context ) : String
context ParseContext The context of the invocation.
Результат String

this() публичный Метод

Gets or sets the value for the given key.
public this ( String key ) : Value
key String
Результат Value