CompositeFileProvider Constructors

Definition

Overloads

CompositeFileProvider(IFileProvider[])

Initializes a new instance of the CompositeFileProvider class using a collection of file provider.

CompositeFileProvider(IEnumerable<IFileProvider>)

Initializes a new instance of the CompositeFileProvider class using a collection of file provider.

CompositeFileProvider(IFileProvider[])

Source:
CompositeFileProvider.cs
Source:
CompositeFileProvider.cs
Source:
CompositeFileProvider.cs

Initializes a new instance of the CompositeFileProvider class using a collection of file provider.

public CompositeFileProvider (params Microsoft.Extensions.FileProviders.IFileProvider[]? fileProviders);

Parameters

fileProviders
IFileProvider[]

The collection of IFileProvider

Applies to

.NET 9 (package-provided) e altre versioni
Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)

CompositeFileProvider(IEnumerable<IFileProvider>)

Source:
CompositeFileProvider.cs
Source:
CompositeFileProvider.cs
Source:
CompositeFileProvider.cs

Initializes a new instance of the CompositeFileProvider class using a collection of file provider.

public CompositeFileProvider (System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileProvider> fileProviders);

Parameters

fileProviders
IEnumerable<IFileProvider>

The collection of IFileProvider

Applies to

.NET 9 (package-provided) e altre versioni
Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)