C# 클래스 YAMP.ObjectValue

The class for representing an object value.
상속: Value, IFunction, ISetFunction
파일 보기 프로젝트 열기: FlorianRappl/YAMP

공개 메소드들

메소드 설명
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