Interface ILambdaConfigSource
The ILambda
Namespace: LambdaSharp.ConfigSource
Assembly: LambdaSharp.dll
Syntax
public interface ILambdaConfigSource
Methods
Open(String)
The Open(String) method returns an interface to read configuration values from the requested nested section. Section names are not case-sensitive.
Declaration
ILambdaConfigSource Open(string name)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the nested section. |
Returns
Type | Description |
---|---|
ILambda |
The ILambda |
Read(String)
The Read(String) method returns the configuration value
of the specified key or null
if the key does not exist. Configuration
keys are not case-sensitive.
Declaration
string Read(string key)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The configuration key. |
Returns
Type | Description |
---|---|
System. |
The configuration value or |
ReadAllKeys()
The Read
Declaration
IEnumerable<string> ReadAllKeys()
Returns
Type | Description |
---|---|
System. |
Enumeration of defined configuration keys. |