FileConfigurationExtensions.GetFileProvider(IConfigurationBuilder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- builder
- IConfigurationBuilder
Returns
The default IFileProvider.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.