Click or drag to resize
Akka.NETConfig Class
This class represents the main configuration object used by Akka.NET when configuring objects within the system. To put it simply, it's the internal representation of a HOCON (Human-Optimized Config Object Notation) configuration string.
Inheritance Hierarchy
SystemObject
  Akka.ConfigurationConfig

Namespace:  Akka.Configuration
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public class Config

The Config type exposes the following members.

Constructors
  NameDescription
Public methodConfig
Initializes a new instance of the Config class.
Public methodConfig(HoconRoot)
Initializes a new instance of the Config class.
Public methodConfig(Config, Config)
Initializes a new instance of the Config class.
Top
Properties
  NameDescription
Public propertyFallback
The configuration used as a secondary source.
Public propertyIsEmpty
Determines if this root node contains any values
Public propertyRoot
The root node of this configuration section
Public propertySubstitutions
An enumeration of substitutions values
Top
Methods
  NameDescription
Public methodAsEnumerable
Retrieves an enumerable key value pair representation of the current configuration.
Protected methodCopy
Generates a deep clone of the current configuration.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBoolean
Retrieves a boolean value from the specified path in the configuration.
Public methodGetBooleanList
Retrieves a list of boolean values from the specified path in the configuration.
Public methodGetByteList
Retrieves a list of byte values from the specified path in the configuration.
Public methodGetByteSize
Retrieves a long value, optionally suffixed with a 'b', from the specified path in the configuration.
Public methodGetConfig
Retrieves a new configuration from the current configuration with the root node being the supplied path.
Public methodGetDecimal
Retrieves a decimal value from the specified path in the configuration.
Public methodGetDecimalList
Retrieves a list of decimal values from the specified path in the configuration.
Public methodGetDouble
Retrieves a double value from the specified path in the configuration.
Public methodGetDoubleList
Retrieves a list of double values from the specified path in the configuration.
Public methodGetFloat
Retrieves a float value from the specified path in the configuration.
Public methodGetFloatList
Retrieves a list of float values from the specified path in the configuration.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt
Retrieves an integer value from the specified path in the configuration.
Public methodGetIntList
Retrieves a list of int values from the specified path in the configuration.
Public methodGetLong
Retrieves a long value from the specified path in the configuration.
Public methodGetLongList
Retrieves a list of long values from the specified path in the configuration.
Public methodGetString
Retrieves a string value from the specified path in the configuration.
Public methodGetStringList
Retrieves a list of string values from the specified path in the configuration.
Public methodGetTimeSpan
Retrieves a TimeSpan value from the specified path in the configuration.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Retrieves a HoconValue from a specific path.
Public methodHasPath
Determine if a HOCON configuration element exists at the specified location
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Converts the current configuration to a string.
(Overrides ObjectToString.)
Public methodToString(Boolean)
Converts the current configuration to a string
Public methodWithFallback
Configure the current configuration with a secondary source.
Top
Operators
  NameDescription
Public operatorStatic memberAddition(String, Config)
Adds the supplied configuration as a fallback to the supplied configuration string.
Public operatorStatic memberAddition(Config, String)
Adds the supplied configuration string as a fallback to the supplied configuration.
Public operatorStatic member(String to Config)
Performs an implicit conversion from String to Config.
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
A static "Empty" configuration we can use instead of null in some key areas.
Top
Extension Methods
See Also