共用方式為


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

包含提供者設定的組態區段。

適用於