Method | Description | |
---|---|---|
AppendValue ( IHoconElement value ) : void |
Adds the given element to the list of elements inside this HoconValue.
|
|
AtKey ( string key ) : Config |
Wraps this HoconValue into a new Config object at the specified key.
|
|
Clear ( ) : void |
Clears the list of elements inside this HoconValue.
|
|
GetArray ( ) : IList |
Retrieves a list of values from this HoconValue.
|
|
GetBoolean ( ) : bool |
Retrieves the boolean value from this HoconValue.
|
|
GetBooleanList ( ) : IList |
Retrieves a list of boolean values from this HoconValue.
|
|
GetByte ( ) : byte |
Retrieves the byte value from this HoconValue.
|
|
GetByteList ( ) : IList |
Retrieves a list of byte values from this HoconValue.
|
|
GetByteSize ( ) : long? |
Retrieves the long value, optionally suffixed with a 'b', from this HoconValue.
|
|
GetChildObject ( string key ) : |
Retrieves the child object located at the given key.
|
|
GetDecimal ( ) : decimal |
Retrieves the decimal value from this HoconValue.
|
|
GetDecimalList ( ) : IList |
Retrieves a list of decimal values from this HoconValue.
|
|
GetDouble ( ) : double |
Retrieves the double value from this HoconValue.
|
|
GetDoubleList ( ) : IList |
Retrieves a list of double values from this HoconValue.
|
|
GetFloat ( ) : float |
Retrieves the float value from this HoconValue.
|
|
GetFloatList ( ) : IList |
Retrieves a list of float values from this HoconValue.
|
|
GetInt ( ) : int |
Retrieves the integer value from this HoconValue.
|
|
GetIntList ( ) : IList |
Retrieves a list of integer values from this HoconValue.
|
|
GetLong ( ) : long |
Retrieves the long value from this HoconValue.
|
|
GetLongList ( ) : IList |
Retrieves a list of long values from this HoconValue.
|
|
GetObject ( ) : |
Retrieves the HoconObject from this HoconValue.
|
|
GetString ( ) : string |
Retrieves the string value from this HoconValue.
|
|
GetStringList ( ) : IList |
Retrieves a list of string values from this HoconValue.
|
|
GetTimeSpan ( bool allowInfinite = true ) : System.TimeSpan |
Retrieves the time span value from this HoconValue.
|
|
HoconValue ( ) : System |
Initializes a new instance of the HoconValue class.
|
|
IsArray ( ) : bool |
Determines whether this HoconValue is an array.
|
|
IsObject ( ) : bool |
Determines if this HoconValue is a HoconObject.
|
|
IsString ( ) : bool |
Determines whether all the elements inside this HoconValue are a string.
|
|
NewValue ( IHoconElement value ) : void |
Creates a fresh list of elements inside this HoconValue and adds the given value to the list.
|
|
ToString ( ) : string |
Returns a HOCON string representation of this HoconValue.
|
|
ToString ( int indent ) : string |
Returns a HOCON string representation of this HoconValue.
|
Method | Description | |
---|---|---|
ConcatString ( ) : string | ||
GetMillisDuration ( bool allowInfinite = true ) : System.TimeSpan | ||
ParsePositiveValue ( string v ) : double | ||
QuoteIfNeeded ( string text ) : string |
public AppendValue ( IHoconElement value ) : void | ||
value | IHoconElement | The element to add to the list. |
return | void |
public AtKey ( string key ) : Config | ||
key | string | The key designated to be the new root element. |
return | Config |
public GetChildObject ( string key ) : |
||
key | string | The key used to retrieve the child object. |
return |
public GetTimeSpan ( bool allowInfinite = true ) : System.TimeSpan | ||
allowInfinite | bool | A flag used to set inifinite durations. |
return | System.TimeSpan |
public NewValue ( IHoconElement value ) : void | ||
value | IHoconElement | The element to add to the list. |
return | void |
public ToString ( int indent ) : string | ||
indent | int | The number of spaces to indent the string. |
return | string |