C# Class Akka.Configuration.Hocon.HoconLiteral

This class represents a string literal element in a HOCON (Human-Optimized Config Object Notation) configuration string. akka { actor { provider = "Akka.Remote.RemoteActorRefProvider, Akka.Remote" } }
Inheritance: IHoconElement
Exibir arquivo Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
GetArray ( ) : IList

Retrieves a list of elements associated with this element.

GetString ( ) : string

Retrieves the string representation of this element.

IsArray ( ) : bool

Determines whether this element is an array.

IsString ( ) : bool

Determines whether this element is a string.

ToString ( ) : string

Returns the string representation of this element.

Method Details

GetArray() public method

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

GetString() public method

Retrieves the string representation of this element.
public GetString ( ) : string
return string

IsArray() public method

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

IsString() public method

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

ToString() public method

Returns the string representation of this element.
public ToString ( ) : string
return string