Table of Contents

Interface IConfigurationBuilder

Namespace
Acuit.Pinpoint.Configuration
Assembly
Acuit.Pinpoint.Configuration.dll

Represents a type used to build application configuration.

public interface IConfigurationBuilder
Extension Methods

Properties

Properties

Gets a key/value collection that can be used to share data between the IConfigurationBuilder and the registered IConfigurationSources.

IDictionary<string, object> Properties { get; }

Property Value

IDictionary<string, object>

Sources

Gets the sources used to obtain configuration values

IList<IConfigurationSource> Sources { get; }

Property Value

IList<IConfigurationSource>

Methods

Add(IConfigurationSource)

Adds a new configuration source.

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 sources registered in Sources.

IConfigurationRoot Build()

Returns

IConfigurationRoot

An IConfigurationRoot with keys and values from the registered sources.