NewtonsoftJsonConfigurationExtensions 类

定义

用于添加 NewtonsoftJsonConfigurationProvider 的扩展方法。Extension methods for adding NewtonsoftJsonConfigurationProvider.

public ref class NewtonsoftJsonConfigurationExtensions abstract sealed
public static class NewtonsoftJsonConfigurationExtensions
type NewtonsoftJsonConfigurationExtensions = class
Public Module NewtonsoftJsonConfigurationExtensions
继承
NewtonsoftJsonConfigurationExtensions

方法

AddNewtonsoftJsonFile(IConfigurationBuilder, Action<NewtonsoftJsonConfigurationSource>)

将 JSON 配置源添加到 builderAdds a JSON configuration source to builder.

AddNewtonsoftJsonFile(IConfigurationBuilder, IFileProvider, String, Boolean, Boolean)

将 JSON 配置源添加到 builderAdds a JSON configuration source to builder.

AddNewtonsoftJsonFile(IConfigurationBuilder, String)

path 处的 JSON 配置提供程序添加到 builderAdds the JSON configuration provider at path to builder.

AddNewtonsoftJsonFile(IConfigurationBuilder, String, Boolean)

path 处的 JSON 配置提供程序添加到 builderAdds the JSON configuration provider at path to builder.

AddNewtonsoftJsonFile(IConfigurationBuilder, String, Boolean, Boolean)

path 处的 JSON 配置提供程序添加到 builderAdds the JSON configuration provider at path to builder.

AddNewtonsoftJsonStream(IConfigurationBuilder, Stream)

将 Newtonsoft JSON 配置源添加到 builderAdds a Newtonsoft JSON configuration source to builder.

适用于