C# 클래스 Akka.Configuration.Hocon.HoconObject

상속: IHoconElement
파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
QuoteIfNeeded string

공개 메소드들

메소드 설명
GetArray ( ) : IList

Retrieves a list of elements associated with this element.

GetKey ( string key ) : HoconValue

Retrieves the value associated with the supplied key.

GetOrCreateKey ( string key ) : HoconValue

Retrieves the value associated with the supplied key. If the supplied key is not found, then one is created with a blank value.

GetString ( ) : string

Retrieves the string representation of this element.

HoconObject ( ) : System

Initializes a new instance of the HoconObject class.

IsArray ( ) : bool

Determines whether this element is an array.

IsString ( ) : bool

Determines whether this element is a string.

Merge ( HoconObject other ) : void

Merges the specified object into this instance.

ToString ( ) : string

Returns a HOCON string representation of this element.

ToString ( int indent ) : string

Returns a HOCON string representation of this element.

비공개 메소드들

메소드 설명
QuoteIfNeeded ( string text ) : string

메소드 상세

GetArray() 공개 메소드

Retrieves a list of elements associated with this element.
/// This element is an object. It is not an array. /// Therefore this method will throw an exception. ///
public GetArray ( ) : IList
리턴 IList

GetKey() 공개 메소드

Retrieves the value associated with the supplied key.
public GetKey ( string key ) : HoconValue
key string The key associated with the value to retrieve.
리턴 HoconValue

GetOrCreateKey() 공개 메소드

Retrieves the value associated with the supplied key. If the supplied key is not found, then one is created with a blank value.
public GetOrCreateKey ( string key ) : HoconValue
key string The key associated with the value to retrieve.
리턴 HoconValue

GetString() 공개 메소드

Retrieves the string representation of this element.
/// This element is an object. It is not a string. /// Therefore this method will throw an exception. ///
public GetString ( ) : string
리턴 string

HoconObject() 공개 메소드

Initializes a new instance of the HoconObject class.
public HoconObject ( ) : System
리턴 System

IsArray() 공개 메소드

Determines whether this element is an array.
public IsArray ( ) : bool
리턴 bool

IsString() 공개 메소드

Determines whether this element is a string.
public IsString ( ) : bool
리턴 bool

Merge() 공개 메소드

Merges the specified object into this instance.
public Merge ( HoconObject other ) : void
other HoconObject The object to merge into this instance.
리턴 void

ToString() 공개 메소드

Returns a HOCON string representation of this element.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

Returns a HOCON string representation of this element.
public ToString ( int indent ) : string
indent int The number of spaces to indent the string.
리턴 string