Class ConfigurationBuilder
- Namespace
- Acuit.Pinpoint.Configuration
- Assembly
- Acuit.Pinpoint.Configuration.dll
Used to build key/value based configuration settings for use in an application.
public class ConfigurationBuilder : IConfigurationBuilder
- Inheritance
-
ConfigurationBuilder
- Implements
- Inherited Members
- Extension Methods
Properties
Properties
Gets a key/value collection that can be used to share data between the IConfigurationBuilder and the registered IConfigurationProviders.
public IDictionary<string, object> Properties { get; }
Property Value
Sources
Returns the sources used to obtain configuration values.
public IList<IConfigurationSource> Sources { get; }
Property Value
Methods
Add(IConfigurationSource)
Adds a new configuration source.
public IConfigurationBuilder Add(IConfigurationSource source)
Parameters
source
IConfigurationSourceThe configuration source to add.
Returns
- IConfigurationBuilder
The same IConfigurationBuilder.
Build()
Builds an IConfiguration with keys and values from the set of providers registered in Sources.
public IConfigurationRoot Build()
Returns
- IConfigurationRoot
An IConfigurationRoot with keys and values from the registered providers.