C# Class Akka.Configuration.Hocon.HoconObject

Inheritance: IHoconElement
Afficher le fichier Open project: rogeralsing/akka.net Class Usage Examples

Private Properties

Свойство Type Description
QuoteIfNeeded string

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
QuoteIfNeeded ( string text ) : string

Method Details

GetArray() public méthode

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
Résultat IList

GetKey() public méthode

Retrieves the value associated with the supplied key.
public GetKey ( string key ) : HoconValue
key string The key associated with the value to retrieve.
Résultat HoconValue

GetOrCreateKey() public méthode

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.
Résultat HoconValue

GetString() public méthode

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
Résultat string

HoconObject() public méthode

Initializes a new instance of the HoconObject class.
public HoconObject ( ) : System
Résultat System

IsArray() public méthode

Determines whether this element is an array.
public IsArray ( ) : bool
Résultat bool

IsString() public méthode

Determines whether this element is a string.
public IsString ( ) : bool
Résultat bool

Merge() public méthode

Merges the specified object into this instance.
public Merge ( HoconObject other ) : void
other HoconObject The object to merge into this instance.
Résultat void

ToString() public méthode

Returns a HOCON string representation of this element.
public ToString ( ) : string
Résultat string

ToString() public méthode

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