Class 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"
}
}
Implements
Inherited Members
Namespace: Akka.Configuration.Hocon
Assembly: Akka.dll
Syntax
public class HoconLiteral : IHoconElement
Properties
| Improve this Doc View SourceValue
Gets or sets the value of this element.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceGetArray()
N/A
Declaration
public IList<HoconValue> GetArray()
Returns
Type | Description |
---|---|
IList<HoconValue> | N/A |
Exceptions
Type | Condition |
---|---|
NotImplementedException | This exception is thrown automatically since this element is a string literal and not an array. |
GetString()
Retrieves the string representation of this element.
Declaration
public string GetString()
Returns
Type | Description |
---|---|
String | The value of this element. |
IsArray()
Determines whether this element is an array.
Declaration
public bool IsArray()
Returns
Type | Description |
---|---|
Boolean |
|
IsString()
Determines whether this element is a string.
Declaration
public bool IsString()
Returns
Type | Description |
---|---|
Boolean |
|
ToString()
Returns the string representation of this element.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The value of this element. |