MvcRazorRuntimeCompilationOptions.FileProviders 属性

定义

获取 IFileProvider 用于查找 Razor 文件的实例。

public:
 property System::Collections::Generic::IList<Microsoft::Extensions::FileProviders::IFileProvider ^> ^ FileProviders { System::Collections::Generic::IList<Microsoft::Extensions::FileProviders::IFileProvider ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Extensions.FileProviders.IFileProvider> FileProviders { get; }
member this.FileProviders : System.Collections.Generic.IList<Microsoft.Extensions.FileProviders.IFileProvider>
Public ReadOnly Property FileProviders As IList(Of IFileProvider)

属性值

注解

启动时,此集合将初始化为包含位于应用程序根目录的 实例 ContentRootFileProvider

适用于