Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​Extensions.​Configuration.​IConfigurationBuilder

Assembly: Microsoft.Extensions.Configuration.Abstractions

Represents a type used to build application configuration.

Properties

Properties
Gets a key/value collection that can be used to share data between the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder" /> and the registered <see cref="T:Microsoft.Extensions.Configuration.IConfigurationSource" /> s.
Gets the sources used to obtain configuration values

Methods

Add​(IConfigurationSource source)
Adds a new configuration source.
Returns The same <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder" /> .
source The configuration source to add.
Build​()
Builds an <see cref="T:Microsoft.Extensions.Configuration.IConfiguration" /> with keys and values from the set of sources registered in <see cref="P:Microsoft.Extensions.Configuration.IConfigurationBuilder.Sources" /> .
Returns An <see cref="T:Microsoft.Extensions.Configuration.IConfigurationRoot" /> with keys and values from the registered sources.