IBlazorWebViewHandler.CreateFileProvider(String) Method

Definition

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.

Applies to