Interface IConfiguration
- Namespace
- Acuit.Pinpoint.Configuration
- Assembly
- Acuit.Pinpoint.Configuration.dll
Represents a set of key/value application configuration properties.
public interface IConfiguration
- Extension Methods
Properties
this[string]
Gets or sets a configuration value.
string this[string key] { get; set; }
Parameters
key
stringThe configuration key.
Property Value
- string
The configuration value.
Methods
GetChildren()
Gets the immediate descendant configuration sub-sections.
IEnumerable<IConfigurationSection> GetChildren()
Returns
- IEnumerable<IConfigurationSection>
The configuration sub-sections.
GetReloadToken()
Returns a IChangeToken that can be used to observe when this configuration is reloaded.
IChangeToken GetReloadToken()
Returns
GetSection(string)
Gets a configuration sub-section with the specified key.
IConfigurationSection GetSection(string key)
Parameters
key
stringThe key of the configuration section.
Returns
Remarks
This method will never return null. If no matching sub-section is found with the specified key, an empty IConfigurationSection will be returned.