Dela via


SharedOptionsBase.FileProvider Property

Definition

The file system used to locate resources

public:
 property Microsoft::Extensions::FileProviders::IFileProvider ^ FileProvider { Microsoft::Extensions::FileProviders::IFileProvider ^ get(); void set(Microsoft::Extensions::FileProviders::IFileProvider ^ value); };
public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { get; set; }
public Microsoft.Extensions.FileProviders.IFileProvider? FileProvider { get; set; }
member this.FileProvider : Microsoft.Extensions.FileProviders.IFileProvider with get, set
Public Property FileProvider As IFileProvider

Property Value

Remarks

Files are served from the path specified in WebRootPath or WebRootFileProvider which defaults to the 'wwwroot' subfolder.

Applies to