共用方式為


FileConfigurationSource.EnsureDefaults(IConfigurationBuilder) 方法

定義

呼叫以在建立器上使用任何預設設定,例如 FileProvider 或 FileLoadExceptionHandler。

public:
 void EnsureDefaults(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ builder);
public void EnsureDefaults (Microsoft.Extensions.Configuration.IConfigurationBuilder builder);
member this.EnsureDefaults : Microsoft.Extensions.Configuration.IConfigurationBuilder -> unit
Public Sub EnsureDefaults (builder As IConfigurationBuilder)

參數

適用於