|
26 | 26 | </Interface>
|
27 | 27 | </Interfaces>
|
28 | 28 | <Docs>
|
29 |
| - <summary>Used to build key/value based configuration settings for use in an application.</summary> |
30 |
| - <remarks>To be added.</remarks> |
| 29 | + <summary>Used to build key/value-based configuration settings for use in an application.</summary> |
| 30 | + <remarks> |
| 31 | + <format type="text/markdown"><. |
| 36 | +
|
| 37 | +If you're migrating an app to .NET Core 3.1 or a later version, you can use this class to replace the *app.config* file functionality that you may have previously used to configure your app. |
| 38 | +
|
| 39 | +## Example |
| 40 | +
|
| 41 | +The following code snippet shows a simplified app that creates a `ConfigurationBuilder` object to retrieve a string value from a JSON file at run time. |
| 42 | + |
| 43 | +:::code language="csharp" source="~/snippets/csharp/Microsoft.Extensions.Configuration/ConfigurationBuilder/Overview/Program.cs"::: |
| 44 | +
|
| 45 | +The contents of the JSON file are shown here. |
| 46 | + |
| 47 | +:::code language="json" source="~/snippets/csharp/Microsoft.Extensions.Configuration/ConfigurationBuilder/Overview/appsettings.json"::: |
| 48 | + |
| 49 | + ]]></format> |
| 50 | + </remarks> |
| 51 | + <related type="Article" href="/dotnet/core/extensions/configuration">Configuration in .NET</related> |
31 | 52 | </Docs>
|
32 | 53 | <Members>
|
33 | 54 | <Member MemberName=".ctor">
|
|
51 | 72 | </AssemblyInfo>
|
52 | 73 | <Parameters />
|
53 | 74 | <Docs>
|
54 |
| - <summary>To be added.</summary> |
| 75 | + <summary>Initializes a new instance of the <see cref="T:Microsoft.Extensions.Configuration.ConfigurationBuilder" /> class.</summary> |
55 | 76 | <remarks>To be added.</remarks>
|
56 | 77 | </Docs>
|
57 | 78 | </Member>
|
|
159 | 180 | </ReturnValue>
|
160 | 181 | <Docs>
|
161 | 182 | <summary>Gets a key/value collection that can be used to share data between the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder" />
|
162 |
| - and the registered <see cref="T:Microsoft.Extensions.Configuration.IConfigurationProvider" />s.</summary> |
163 |
| - <value>To be added.</value> |
| 183 | + and the registered configuration providers.</summary> |
| 184 | + <value>A key/value collection that can be used to share data between the <see cref="T:Microsoft.Extensions.Configuration.IConfigurationBuilder" /> |
| 185 | + and the registered configuration providers.</value> |
164 | 186 | <remarks>To be added.</remarks>
|
165 | 187 | </Docs>
|
166 | 188 | </Member>
|
|
197 | 219 | <ReturnType FrameworkAlternate="dotnet-plat-ext-2.0;dotnet-plat-ext-2.1;dotnet-plat-ext-2.2;dotnet-plat-ext-3.0;dotnet-plat-ext-3.1;dotnet-plat-ext-5.0;dotnet-plat-ext-6.0">System.Collections.Generic.IList<Microsoft.Extensions.Configuration.IConfigurationSource></ReturnType>
|
198 | 220 | </ReturnValue>
|
199 | 221 | <Docs>
|
200 |
| - <summary>Returns the sources used to obtain configuration values.</summary> |
201 |
| - <value>To be added.</value> |
| 222 | + <summary>Gets the sources used to obtain configuration values.</summary> |
| 223 | + <value>The sources used to obtain configuration values.</value> |
202 | 224 | <remarks>To be added.</remarks>
|
203 | 225 | </Docs>
|
204 | 226 | </Member>
|
|
0 commit comments