IWebHostEnvironment.WebRootFileProvider 属性

定义

获取或设置指向 WebRootPathIFileProvider。 这默认引用“wwwroot”子文件夹中的文件。

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

属性值

适用于