Property | Type | Description | |
---|---|---|---|
Empty |
Method | Description | |
---|---|---|
AsEnumerable ( ) : HoconValue>>.IEnumerable |
Retrieves an enumerable key value pair representation of the current configuration.
|
|
Config ( ) : System |
Initializes a new instance of the Config class.
|
|
Config ( |
Initializes a new instance of the Config class.
|
|
Config ( Akka.Configuration.Hocon.HoconRoot root ) : System |
Initializes a new instance of the Config class.
|
|
GetBoolean ( string path, bool @default = false ) : bool |
Retrieves a boolean value from the specified path in the configuration.
|
|
GetBooleanList ( string path ) : IList |
Retrieves a list of boolean values from the specified path in the configuration.
|
|
GetByteList ( string path ) : IList |
Retrieves a list of byte values from the specified path in the configuration.
|
|
GetByteSize ( string path ) : long? |
Retrieves a long value, optionally suffixed with a 'b', from the specified path in the configuration.
|
|
GetConfig ( string path ) : |
Retrieves a new configuration from the current configuration with the root node being the supplied path.
|
|
GetDecimal ( string path, decimal @default ) : decimal |
Retrieves a decimal value from the specified path in the configuration.
|
|
GetDecimalList ( string path ) : IList |
Retrieves a list of decimal values from the specified path in the configuration.
|
|
GetDouble ( string path, double @default ) : double |
Retrieves a double value from the specified path in the configuration.
|
|
GetDoubleList ( string path ) : IList |
Retrieves a list of double values from the specified path in the configuration.
|
|
GetFloat ( string path, float @default ) : float |
Retrieves a float value from the specified path in the configuration.
|
|
GetFloatList ( string path ) : IList |
Retrieves a list of float values from the specified path in the configuration.
|
|
GetInt ( string path, int @default ) : int |
Retrieves an integer value from the specified path in the configuration.
|
|
GetIntList ( string path ) : IList |
Retrieves a list of int values from the specified path in the configuration.
|
|
GetLong ( string path, long @default ) : long |
Retrieves a long value from the specified path in the configuration.
|
|
GetLongList ( string path ) : IList |
Retrieves a list of long values from the specified path in the configuration.
|
|
GetString ( string path, string @default = null ) : string |
Retrieves a string value from the specified path in the configuration.
|
|
GetStringList ( string path ) : IList |
Retrieves a list of string values from the specified path in the configuration.
|
|
GetTimeSpan ( string path, System.TimeSpan @default = null, bool allowInfinite = true ) : System.TimeSpan |
Retrieves a TimeSpan value from the specified path in the configuration.
|
|
GetValue ( string path ) : |
Retrieves a HoconValue from a specific path.
|
|
HasPath ( string path ) : bool |
Determine if a HOCON configuration element exists at the specified location
|
|
ToString ( ) : string |
Converts the current configuration to a string.
|
|
ToString ( bool includeFallback ) : string |
Converts the current configuration to a string
|
|
WithFallback ( |
Configure the current configuration with a secondary source.
|
|
operator ( ) : |
Adds the supplied configuration string as a fallback to the supplied configuration.
|
Method | Description | |
---|---|---|
Copy ( ) : |
Generates a deep clone of the current configuration.
|
Method | Description | |
---|---|---|
GetMillisDuration ( string path, System.TimeSpan @default = null, bool allowInfinite = true ) : System.TimeSpan | ||
GetNode ( string path ) : |
public AsEnumerable ( ) : HoconValue>>.IEnumerable |
||
return | HoconValue>>.IEnumerable |
public Config ( |
||
source | The configuration to use as the primary source. | |
fallback | The configuration to use as a secondary source. | |
return | System |
public Config ( Akka.Configuration.Hocon.HoconRoot root ) : System | ||
root | Akka.Configuration.Hocon.HoconRoot | The root node to base this configuration. |
return | System |
public GetBoolean ( string path, bool @default = false ) : bool | ||
path | string | The path that contains the value to retrieve. |
@default | bool | |
return | bool |
public GetBooleanList ( string path ) : IList |
||
path | string | The path that contains the values to retrieve. |
return | IList |
public GetByteList ( string path ) : IList |
||
path | string | The path that contains the values to retrieve. |
return | IList |
public GetByteSize ( string path ) : long? | ||
path | string | The path that contains the value to retrieve. |
return | long? |
public GetConfig ( string path ) : |
||
path | string | The path that contains the configuration to retrieve. |
return |
public GetDecimal ( string path, decimal @default ) : decimal | ||
path | string | The path that contains the value to retrieve. |
@default | decimal | |
return | decimal |
public GetDecimalList ( string path ) : IList |
||
path | string | The path that contains the values to retrieve. |
return | IList |
public GetDouble ( string path, double @default ) : double | ||
path | string | The path that contains the value to retrieve. |
@default | double | |
return | double |
public GetDoubleList ( string path ) : IList |
||
path | string | The path that contains the values to retrieve. |
return | IList |
public GetFloat ( string path, float @default ) : float | ||
path | string | The path that contains the value to retrieve. |
@default | float | |
return | float |
public GetFloatList ( string path ) : IList |
||
path | string | The path that contains the values to retrieve. |
return | IList |
public GetInt ( string path, int @default ) : int | ||
path | string | The path that contains the value to retrieve. |
@default | int | |
return | int |
public GetIntList ( string path ) : IList |
||
path | string | The path that contains the values to retrieve. |
return | IList |
public GetLong ( string path, long @default ) : long | ||
path | string | The path that contains the value to retrieve. |
@default | long | |
return | long |
public GetLongList ( string path ) : IList |
||
path | string | The path that contains the values to retrieve. |
return | IList |
public GetString ( string path, string @default = null ) : string | ||
path | string | The path that contains the value to retrieve. |
@default | string | |
return | string |
public GetStringList ( string path ) : IList |
||
path | string | The path that contains the values to retrieve. |
return | IList |
public GetTimeSpan ( string path, System.TimeSpan @default = null, bool allowInfinite = true ) : System.TimeSpan | ||
path | string | The path that contains the value to retrieve. |
@default | System.TimeSpan | |
allowInfinite | bool | |
return | System.TimeSpan |
public GetValue ( string path ) : |
||
path | string | The path that contains the value to retrieve. |
return |
public HasPath ( string path ) : bool | ||
path | string | The location to check for a configuration value. |
return | bool |
public ToString ( bool includeFallback ) : string | ||
includeFallback | bool | if true returns string with current config combined with fallback key-values else only current config key-values |
return | string |
public WithFallback ( |
||
fallback | The configuration to use as a secondary source. | |
return |