JsonConfigurationExtensions 類別

定義

用於新增 JsonConfigurationProvider 的擴充方法。Extension methods for adding JsonConfigurationProvider.

public ref class JsonConfigurationExtensions abstract sealed
public static class JsonConfigurationExtensions
type JsonConfigurationExtensions = class
Public Module JsonConfigurationExtensions
繼承
JsonConfigurationExtensions

方法

AddJsonFile(IConfigurationBuilder, Action<JsonConfigurationSource>)

將 JSON 組態來源新增至 builderAdds a JSON configuration source to builder.

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

將 JSON 組態來源新增至 builderAdds a JSON configuration source to builder.

AddJsonFile(IConfigurationBuilder, String)

path 中將 JSON 組態提供者新增至 builderAdds the JSON configuration provider at path to builder.

AddJsonFile(IConfigurationBuilder, String, Boolean)

path 中將 JSON 組態提供者新增至 builderAdds the JSON configuration provider at path to builder.

AddJsonFile(IConfigurationBuilder, String, Boolean, Boolean)

path 中將 JSON 組態提供者新增至 builderAdds the JSON configuration provider at path to builder.

AddJsonStream(IConfigurationBuilder, Stream)

將 JSON 組態來源新增至 builderAdds a JSON configuration source to builder.

適用於