Header menu logo Argu

ConfigurationReader Type

Configuration reader implementations

Static members

Static member Description

ConfigurationReader.FromAppSettings(assembly)

Full Usage: ConfigurationReader.FromAppSettings(assembly)

Parameters:
Returns: IConfigurationReader

Create a configuration reader instance using the location of an assembly file

assembly : Assembly
Returns: IConfigurationReader

ConfigurationReader.FromAppSettings()

Full Usage: ConfigurationReader.FromAppSettings()

Returns: IConfigurationReader

Create a configuration reader instance using the application's resident AppSettings configuration

Returns: IConfigurationReader

ConfigurationReader.FromAppSettingsFile(path)

Full Usage: ConfigurationReader.FromAppSettingsFile(path)

Parameters:
    path : string

Returns: IConfigurationReader

Create a configuration reader instance using a local xml App.Config file

path : string
Returns: IConfigurationReader

ConfigurationReader.FromDictionary(keyValueDictionary, ?name)

Full Usage: ConfigurationReader.FromDictionary(keyValueDictionary, ?name)

Parameters:
    keyValueDictionary : IDictionary<string, string>
    ?name : string

Returns: IConfigurationReader

Create a configuration reader instance using an IDictionary instance

keyValueDictionary : IDictionary<string, string>
?name : string
Returns: IConfigurationReader

ConfigurationReader.FromEnvironmentVariables()

Full Usage: ConfigurationReader.FromEnvironmentVariables()

Returns: IConfigurationReader

Create a configuration reader instance using environment variables

Returns: IConfigurationReader

ConfigurationReader.FromFunction(reader, ?name)

Full Usage: ConfigurationReader.FromFunction(reader, ?name)

Parameters:
    reader : string -> string option
    ?name : string

Returns: IConfigurationReader

Create a configuration reader instance using an F# function

reader : string -> string option
?name : string
Returns: IConfigurationReader

ConfigurationReader.NullReader

Full Usage: ConfigurationReader.NullReader

Returns: IConfigurationReader

Create a configuration reader that always returns null

Returns: IConfigurationReader

Type something to start searching.