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)

参数

适用于