C# Класс 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" } }
Наследование: IHoconElement
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetArray() публичный Метод

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
Результат IList

GetString() публичный Метод

Retrieves the string representation of this element.
public GetString ( ) : string
Результат string

IsArray() публичный Метод

Determines whether this element is an array.
public IsArray ( ) : bool
Результат bool

IsString() публичный Метод

Determines whether this element is a string.
public IsString ( ) : bool
Результат bool

ToString() публичный Метод

Returns the string representation of this element.
public ToString ( ) : string
Результат string