Table of Contents

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

IDictionary<string, object>

Sources

Returns the sources used to obtain configuration values.

public IList<IConfigurationSource> Sources { get; }

Property Value

IList<IConfigurationSource>

Methods

Add(IConfigurationSource)

Adds a new configuration source.

public IConfigurationBuilder Add(IConfigurationSource source)

Parameters

source IConfigurationSource

The 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.