Header menu logo FCQRS

ConfigExtension Type

Constructors

Constructor Description

ConfigExtension()

Full Usage: ConfigExtension()

Returns: ConfigExtension
Returns: ConfigExtension

Static members

Static member Description

ConfigExtension.GetRootAsDynamic(configuration)

Full Usage: ConfigExtension.GetRootAsDynamic(configuration)

Parameters:
Returns: obj An expando object represents given section

An extension method that returns given string as an dynamic Expando object

configuration : IConfiguration
Returns: obj

An expando object represents given section

ArgumentNullException Thrown configuration is null

ConfigExtension.GetSectionAsDynamic(configuration, section)

Full Usage: ConfigExtension.GetSectionAsDynamic(configuration, section)

Parameters:
Returns: obj An expando object representing the requested section. A section with no keys yields an empty expando object (mirroring IConfiguration.GetSection, which never returns null), so callers can layer their own defaults underneath, e.g. Akka's reference.conf.

An extension method that returns the given configuration section as a dynamic Expando object

configuration : IConfiguration
section : string
Returns: obj

An expando object representing the requested section. A section with no keys yields an empty expando object (mirroring IConfiguration.GetSection, which never returns null), so callers can layer their own defaults underneath, e.g. Akka's reference.conf.

ArgumentNullException Thrown when configuration or section is null

Type something to start searching.