IProviderBuilder<TBuilder>.Configure 方法

定义

配置提供程序。

public void Configure (TBuilder builder, string name, Microsoft.Extensions.Configuration.IConfigurationSection configurationSection);
abstract member Configure : 'Builder * string * Microsoft.Extensions.Configuration.IConfigurationSection -> unit
Public Sub Configure (builder As TBuilder, name As String, configurationSection As IConfigurationSection)

参数

builder
TBuilder

生成器。

name
String

提供程序名称;如果未指定名称,则为 。null

configurationSection
IConfigurationSection

包含提供程序配置的配置节。

适用于