共用方式為


JsonConfigurationExtensions Class

Definition

Extension methods for adding JsonConfigurationProvider.

public ref class JsonConfigurationExtensions abstract sealed
public static class JsonConfigurationExtensions
type JsonConfigurationExtensions = class
Public Module JsonConfigurationExtensions
Inheritance
JsonConfigurationExtensions

Remarks

For more information and examples, see JSON configuration provider.

Methods

AddJsonFile(IConfigurationBuilder, Action<JsonConfigurationSource>)

Adds a JSON configuration source to builder.

AddJsonFile(IConfigurationBuilder, IFileProvider, String, Boolean, Boolean)

Adds a JSON configuration source to builder.

AddJsonFile(IConfigurationBuilder, String, Boolean, Boolean)

Adds the JSON configuration provider at path to builder.

AddJsonFile(IConfigurationBuilder, String, Boolean)

Adds the JSON configuration provider at path to builder.

AddJsonFile(IConfigurationBuilder, String)

Adds the JSON configuration provider at path to builder.

AddJsonStream(IConfigurationBuilder, Stream)

Adds a JSON configuration source to builder.

Applies to