语言

FileProviderRazorProjectItem 类

定义

注意

Razor runtime compilation is obsolete and is not recommended for production scenarios. For production scenarios, use the default build time compilation. For development scenarios, use Hot Reload instead. For more information, visit https://aka.ms/aspnet/deprecate/003.

文件提供程序 Microsoft.AspNetCore.Razor.Language.RazorProjectItem。

public ref class FileProviderRazorProjectItem : Microsoft::AspNetCore::Razor::Language::RazorProjectItem
[System.Obsolete("Razor runtime compilation is obsolete and is not recommended for production scenarios. For production scenarios, use the default build time compilation. For development scenarios, use Hot Reload instead. For more information, visit https://aka.ms/aspnet/deprecate/003.", DiagnosticId="ASPDEPR003", UrlFormat="https://aka.ms/aspnet/deprecate/003")]
public class FileProviderRazorProjectItem : Microsoft.AspNetCore.Razor.Language.RazorProjectItem
public class FileProviderRazorProjectItem : Microsoft.AspNetCore.Razor.Language.RazorProjectItem
[<System.Obsolete("Razor runtime compilation is obsolete and is not recommended for production scenarios. For production scenarios, use the default build time compilation. For development scenarios, use Hot Reload instead. For more information, visit https://aka.ms/aspnet/deprecate/003.", DiagnosticId="ASPDEPR003", UrlFormat="https://aka.ms/aspnet/deprecate/003")>]
type FileProviderRazorProjectItem = class
    inherit RazorProjectItem
type FileProviderRazorProjectItem = class
    inherit RazorProjectItem
Public Class FileProviderRazorProjectItem
Inherits RazorProjectItem
继承
Microsoft.AspNetCore.Razor.Language.RazorProjectItem
FileProviderRazorProjectItem
特性

构造函数

名称 说明
FileProviderRazorProjectItem(IFileInfo, String, String, String, String)
已过时.

初始化一个新的实例 FileProviderRazorProjectItem。

FileProviderRazorProjectItem(IFileInfo, String, String, String)
已过时.

初始化一个新的实例 FileProviderRazorProjectItem。

属性

名称 说明
BasePath
已过时.

文件提供程序 Microsoft.AspNetCore.Razor.Language.RazorProjectItem。

Exists
已过时.

文件提供程序 Microsoft.AspNetCore.Razor.Language.RazorProjectItem。

FileInfo
已过时.

IFileInfo。

FileKind
已过时.

文件提供程序 Microsoft.AspNetCore.Razor.Language.RazorProjectItem。

FilePath
已过时.

文件提供程序 Microsoft.AspNetCore.Razor.Language.RazorProjectItem。

PhysicalPath
已过时.

文件提供程序 Microsoft.AspNetCore.Razor.Language.RazorProjectItem。

RelativePhysicalPath
已过时.

文件提供程序 Microsoft.AspNetCore.Razor.Language.RazorProjectItem。

方法

名称 说明
Read()
已过时.

文件提供程序 Microsoft.AspNetCore.Razor.Language.RazorProjectItem。

适用于