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
Afficher le fichier Open project: rogeralsing/akka.net Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

GetString() public méthode

Retrieves the string representation of this element.
public GetString ( ) : string
Résultat string

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

ToString() public méthode

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