PhysicalFileProvider Constructors
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.
Overloads
PhysicalFileProvider(String) |
Initializes a new instance of a PhysicalFileProvider at the given root directory. |
PhysicalFileProvider(String, ExclusionFilters) |
Initializes a new instance of a PhysicalFileProvider at the given root directory. |
PhysicalFileProvider(String)
- Source:
- PhysicalFileProvider.cs
- Source:
- PhysicalFileProvider.cs
- Source:
- PhysicalFileProvider.cs
- Source:
- PhysicalFileProvider.cs
Initializes a new instance of a PhysicalFileProvider at the given root directory.
public:
PhysicalFileProvider(System::String ^ root);
public PhysicalFileProvider (string root);
new Microsoft.Extensions.FileProviders.PhysicalFileProvider : string -> Microsoft.Extensions.FileProviders.PhysicalFileProvider
Public Sub New (root As String)
Parameters
- root
- String
The root directory. This should be an absolute path.
Applies to
PhysicalFileProvider(String, ExclusionFilters)
- Source:
- PhysicalFileProvider.cs
- Source:
- PhysicalFileProvider.cs
- Source:
- PhysicalFileProvider.cs
- Source:
- PhysicalFileProvider.cs
Initializes a new instance of a PhysicalFileProvider at the given root directory.
public:
PhysicalFileProvider(System::String ^ root, Microsoft::Extensions::FileProviders::Physical::ExclusionFilters filters);
public PhysicalFileProvider (string root, Microsoft.Extensions.FileProviders.Physical.ExclusionFilters filters);
new Microsoft.Extensions.FileProviders.PhysicalFileProvider : string * Microsoft.Extensions.FileProviders.Physical.ExclusionFilters -> Microsoft.Extensions.FileProviders.PhysicalFileProvider
Public Sub New (root As String, filters As ExclusionFilters)
Parameters
- root
- String
The root directory. This should be an absolute path.
- filters
- ExclusionFilters
Specifies which files or directories are excluded.