IBlazorWebViewHandler.CreateFileProvider(String) 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.
Creates the file provider used to serve static web assets.
public:
Microsoft::Extensions::FileProviders::IFileProvider ^ CreateFileProvider(System::String ^ contentRootDir);
public Microsoft.Extensions.FileProviders.IFileProvider CreateFileProvider(string contentRootDir);
abstract member CreateFileProvider : string -> Microsoft.Extensions.FileProviders.IFileProvider
Public Function CreateFileProvider (contentRootDir As String) As IFileProvider
Parameters
- contentRootDir
- String
The base directory for static web assets.
Returns
The file provider for the handler's platform.