FileProviderRazorProjectItem 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FileProviderRazorProjectItem(IFileInfo, String, String, String)
初始化 的新实例 FileProviderRazorProjectItem。
public:
FileProviderRazorProjectItem(Microsoft::Extensions::FileProviders::IFileInfo ^ fileInfo, System::String ^ basePath, System::String ^ filePath, System::String ^ root);
public FileProviderRazorProjectItem (Microsoft.Extensions.FileProviders.IFileInfo fileInfo, string basePath, string filePath, string root);
new Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.FileProviderRazorProjectItem : Microsoft.Extensions.FileProviders.IFileInfo * string * string * string -> Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.FileProviderRazorProjectItem
Public Sub New (fileInfo As IFileInfo, basePath As String, filePath As String, root As String)
参数
- fileInfo
- IFileInfo
文件信息。
- basePath
- String
基路径。
- filePath
- String
文件路径。
- root
- String
根。
适用于
FileProviderRazorProjectItem(IFileInfo, String, String, String, String)
初始化 的新实例 FileProviderRazorProjectItem。
public:
FileProviderRazorProjectItem(Microsoft::Extensions::FileProviders::IFileInfo ^ fileInfo, System::String ^ basePath, System::String ^ filePath, System::String ^ root, System::String ^ fileKind);
public FileProviderRazorProjectItem (Microsoft.Extensions.FileProviders.IFileInfo fileInfo, string basePath, string filePath, string root, string fileKind);
public FileProviderRazorProjectItem (Microsoft.Extensions.FileProviders.IFileInfo fileInfo, string basePath, string filePath, string root, string? fileKind);
new Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.FileProviderRazorProjectItem : Microsoft.Extensions.FileProviders.IFileInfo * string * string * string * string -> Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.FileProviderRazorProjectItem
Public Sub New (fileInfo As IFileInfo, basePath As String, filePath As String, root As String, fileKind As String)
参数
- fileInfo
- IFileInfo
文件信息。
- basePath
- String
基路径。
- filePath
- String
文件路径。
- root
- String
根。
- fileKind
- String
文件类型。