C# 클래스 Akka.Configuration.Config

파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Empty Config

공개 메소드들

메소드 설명
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 ( Config source, Config fallback ) : System

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 ) : Config

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 ) : HoconValue

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 ( Config fallback ) : Config

Configure the current configuration with a secondary source.

operator ( ) : Config

Adds the supplied configuration string as a fallback to the supplied configuration.

보호된 메소드들

메소드 설명
Copy ( ) : Config

Generates a deep clone of the current configuration.

비공개 메소드들

메소드 설명
GetMillisDuration ( string path, System.TimeSpan @default = null, bool allowInfinite = true ) : System.TimeSpan
GetNode ( string path ) : HoconValue

메소드 상세

AsEnumerable() 공개 메소드

Retrieves an enumerable key value pair representation of the current configuration.
public AsEnumerable ( ) : HoconValue>>.IEnumerable
리턴 HoconValue>>.IEnumerable

Config() 공개 메소드

Initializes a new instance of the Config class.
public Config ( ) : System
리턴 System

Config() 공개 메소드

Initializes a new instance of the Config class.
The source configuration cannot be null.
public Config ( Config source, Config fallback ) : System
source Config The configuration to use as the primary source.
fallback Config The configuration to use as a secondary source.
리턴 System

Config() 공개 메소드

Initializes a new instance of the Config class.
"The root value cannot be null."
public Config ( Akka.Configuration.Hocon.HoconRoot root ) : System
root Akka.Configuration.Hocon.HoconRoot The root node to base this configuration.
리턴 System

Copy() 보호된 메소드

Generates a deep clone of the current configuration.
protected Copy ( ) : Config
리턴 Config

GetBoolean() 공개 메소드

Retrieves a boolean value from the specified path in the configuration.
public GetBoolean ( string path, bool @default = false ) : bool
path string The path that contains the value to retrieve.
@default bool
리턴 bool

GetBooleanList() 공개 메소드

Retrieves a list of boolean values from the specified path in the configuration.
public GetBooleanList ( string path ) : IList
path string The path that contains the values to retrieve.
리턴 IList

GetByteList() 공개 메소드

Retrieves a list of byte values from the specified path in the configuration.
public GetByteList ( string path ) : IList
path string The path that contains the values to retrieve.
리턴 IList

GetByteSize() 공개 메소드

Retrieves a long value, optionally suffixed with a 'b', from the specified path in the configuration.
public GetByteSize ( string path ) : long?
path string The path that contains the value to retrieve.
리턴 long?

GetConfig() 공개 메소드

Retrieves a new configuration from the current configuration with the root node being the supplied path.
public GetConfig ( string path ) : Config
path string The path that contains the configuration to retrieve.
리턴 Config

GetDecimal() 공개 메소드

Retrieves a decimal value from the specified path in the configuration.
public GetDecimal ( string path, decimal @default ) : decimal
path string The path that contains the value to retrieve.
@default decimal
리턴 decimal

GetDecimalList() 공개 메소드

Retrieves a list of decimal values from the specified path in the configuration.
public GetDecimalList ( string path ) : IList
path string The path that contains the values to retrieve.
리턴 IList

GetDouble() 공개 메소드

Retrieves a double value from the specified path in the configuration.
public GetDouble ( string path, double @default ) : double
path string The path that contains the value to retrieve.
@default double
리턴 double

GetDoubleList() 공개 메소드

Retrieves a list of double values from the specified path in the configuration.
public GetDoubleList ( string path ) : IList
path string The path that contains the values to retrieve.
리턴 IList

GetFloat() 공개 메소드

Retrieves a float value from the specified path in the configuration.
public GetFloat ( string path, float @default ) : float
path string The path that contains the value to retrieve.
@default float
리턴 float

GetFloatList() 공개 메소드

Retrieves a list of float values from the specified path in the configuration.
public GetFloatList ( string path ) : IList
path string The path that contains the values to retrieve.
리턴 IList

GetInt() 공개 메소드

Retrieves an integer value from the specified path in the configuration.
public GetInt ( string path, int @default ) : int
path string The path that contains the value to retrieve.
@default int
리턴 int

GetIntList() 공개 메소드

Retrieves a list of int values from the specified path in the configuration.
public GetIntList ( string path ) : IList
path string The path that contains the values to retrieve.
리턴 IList

GetLong() 공개 메소드

Retrieves a long value from the specified path in the configuration.
public GetLong ( string path, long @default ) : long
path string The path that contains the value to retrieve.
@default long
리턴 long

GetLongList() 공개 메소드

Retrieves a list of long values from the specified path in the configuration.
public GetLongList ( string path ) : IList
path string The path that contains the values to retrieve.
리턴 IList

GetString() 공개 메소드

Retrieves a string value from the specified path in the configuration.
public GetString ( string path, string @default = null ) : string
path string The path that contains the value to retrieve.
@default string
리턴 string

GetStringList() 공개 메소드

Retrieves a list of string values from the specified path in the configuration.
public GetStringList ( string path ) : IList
path string The path that contains the values to retrieve.
리턴 IList

GetTimeSpan() 공개 메소드

Retrieves a TimeSpan value from the specified path in the configuration.
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 true if infinite timespans are allowed; otherwise false.
리턴 System.TimeSpan

GetValue() 공개 메소드

Retrieves a HoconValue from a specific path.
public GetValue ( string path ) : HoconValue
path string The path that contains the value to retrieve.
리턴 Akka.Configuration.Hocon.HoconValue

HasPath() 공개 메소드

Determine if a HOCON configuration element exists at the specified location
public HasPath ( string path ) : bool
path string The location to check for a configuration value.
리턴 bool

ToString() 공개 메소드

Converts the current configuration to a string.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

Converts the current configuration to a string
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
리턴 string

WithFallback() 공개 메소드

Configure the current configuration with a secondary source.
Config can not have itself as fallback.
public WithFallback ( Config fallback ) : Config
fallback Config The configuration to use as a secondary source.
리턴 Config

operator() 공개 정적인 메소드

Adds the supplied configuration string as a fallback to the supplied configuration.
public static operator ( ) : Config
리턴 Config

프로퍼티 상세

Empty 공개적으로 정적으로 프로퍼티

A static "Empty" configuration we can use instead of null in some key areas.
public static Config,Akka.Configuration Empty
리턴 Config