Beispiel #1
0
 /// <summary>
 /// Adds the ASP.NET Core appsettings.json configuration provider to the builder using the configuration file "appsettings.json",
 /// relative to the base path stored in <see cref="IConfigurationBuilder.Properties"/> of the builder.
 /// </summary>
 /// <param name="builder">The <see cref="IConfigurationBuilder"/> to add to.</param>
 /// <exception cref="ArgumentNullException">If <paramref name="builder"/> is null.</exception>
 /// <returns>The <see cref="IConfigurationBuilder"/>.</returns>
 public static IConfigurationBuilder AddAppSettingsJson(this IConfigurationBuilder builder) =>
 builder.AddAppSettingsJson(DefaultReloadOnChange);