Share via


FileProviderRazorProjectItem Class

Definition

Caution

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.

A file provider 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")]
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")>]
type FileProviderRazorProjectItem = class
    inherit RazorProjectItem
type FileProviderRazorProjectItem = class
    inherit RazorProjectItem
Public Class FileProviderRazorProjectItem
Inherits RazorProjectItem
Inheritance
Microsoft.AspNetCore.Razor.Language.RazorProjectItem
FileProviderRazorProjectItem
Attributes

Constructors

FileProviderRazorProjectItem(IFileInfo, String, String, String, String)

Intializes a new instance of a FileProviderRazorProjectItem.

FileProviderRazorProjectItem(IFileInfo, String, String, String)

Intializes a new instance of a FileProviderRazorProjectItem.

Properties

BasePath Microsoft.AspNetCore.Razor.Language.RazorProjectItem.BasePath
Exists Microsoft.AspNetCore.Razor.Language.RazorProjectItem.Exists
FileInfo

The IFileInfo.

FileKind Microsoft.AspNetCore.Razor.Language.RazorProjectItem.FileKind
FilePath Microsoft.AspNetCore.Razor.Language.RazorProjectItem.FilePath
PhysicalPath Microsoft.AspNetCore.Razor.Language.RazorProjectItem.PhysicalPath
RelativePhysicalPath Microsoft.AspNetCore.Razor.Language.RazorProjectItem.RelativePhysicalPath

Methods

Read() Microsoft.AspNetCore.Razor.Language.RazorProjectItem.Read

Applies to