Sdílet prostřednictvím


FileConfigurationExtensions.GetFileProvider(IConfigurationBuilder) Method

Definition

Gets the default IFileProvider to be used for file-based providers.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::FileProviders::IFileProvider ^ GetFileProvider(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ builder);
public static Microsoft.Extensions.FileProviders.IFileProvider GetFileProvider (this Microsoft.Extensions.Configuration.IConfigurationBuilder builder);
static member GetFileProvider : Microsoft.Extensions.Configuration.IConfigurationBuilder -> Microsoft.Extensions.FileProviders.IFileProvider
<Extension()>
Public Function GetFileProvider (builder As IConfigurationBuilder) As IFileProvider

Parameters

Returns

The default IFileProvider.

Applies to