Class HoconSubstitution
This class represents a substitution element in a HOCON (Human-Optimized Config Object Notation) configuration string.
akka {
defaultInstances = 10
deployment{
/user/time{
nr-of-instances = $defaultInstances
}
}
}
Inherited Members
Namespace: Akka.Configuration.Hocon
Assembly: Akka.dll
Syntax
public class HoconSubstitution : IHoconElement, IMightBeAHoconObject
Constructors
| Improve this Doc View SourceHoconSubstitution()
Initializes a new instance of the HoconSubstitution class.
Declaration
protected HoconSubstitution()
HoconSubstitution(String)
Initializes a new instance of the HoconSubstitution class.
Declaration
public HoconSubstitution(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path. |
Properties
| Improve this Doc View SourcePath
The full path to the value which should substitute this instance.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
String |
ResolvedValue
The evaluated value from the Path property
Declaration
public HoconValue ResolvedValue { get; set; }
Property Value
Type | Description |
---|---|
HoconValue |
Methods
| Improve this Doc View SourceGetArray()
Retrieves a list of elements associated with this element.
Declaration
public IList<HoconValue> GetArray()
Returns
Type | Description |
---|---|
IList<HoconValue> | A list of elements associated with this element. |
GetObject()
Retrieves the HOCON object representation of this element.
Declaration
public HoconObject GetObject()
Returns
Type | Description |
---|---|
HoconObject | The HOCON object representation of this element. |
GetString()
Retrieves the string representation of this element.
Declaration
public string GetString()
Returns
Type | Description |
---|---|
String | The string representation of this element. |
IsArray()
Determines whether this element is an array.
Declaration
public bool IsArray()
Returns
Type | Description |
---|---|
Boolean |
|
IsObject()
Determines whether this element is a HOCON object.
Declaration
public bool IsObject()
Returns
Type | Description |
---|---|
Boolean |
|
IsString()
Determines whether this element is a string.
Declaration
public bool IsString()
Returns
Type | Description |
---|---|
Boolean |
|