JsonConfigurationExtensions 類別

定義

用於新增 JsonConfigurationProvider 的擴充方法。

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

方法

AddJsonFile(IConfigurationBuilder, Action<JsonConfigurationSource>)

將 JSON 組態來源新增至 builder

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

將 JSON 組態來源新增至 builder

AddJsonFile(IConfigurationBuilder, String)

path 中將 JSON 組態提供者新增至 builder

AddJsonFile(IConfigurationBuilder, String, Boolean)

path 中將 JSON 組態提供者新增至 builder

AddJsonFile(IConfigurationBuilder, String, Boolean, Boolean)

path 中將 JSON 組態提供者新增至 builder

AddJsonStream(IConfigurationBuilder, Stream)

將 JSON 組態來源新增至 builder

適用於