Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

FileProviderRazorProjectItem Class

Definition

Namespace:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation
Assembly:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.dll
Package:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation v10.0.0
Package:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation v3.0.3
Package:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation v3.1.18
Package:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation v5.0.9
Package:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation v6.0.6
Package:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation v7.0.5
Package:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation v8.0.19
Package:
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation v9.0.8
Source:
FileProviderRazorProjectItem.cs
Source:
FileProviderRazorProjectItem.cs
Source:
FileProviderRazorProjectItem.cs
Source:
FileProviderRazorProjectItem.cs
Source:
FileProviderRazorProjectItem.cs
Source:
FileProviderRazorProjectItem.cs
Source:
FileProviderRazorProjectItem.cs
Source:
FileProviderRazorProjectItem.cs
Source:
FileProviderRazorProjectItem.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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", 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
Inheritance
Microsoft.AspNetCore.Razor.Language.RazorProjectItem
FileProviderRazorProjectItem
Attributes

Constructors

Name Description
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

Name Description
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

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

Applies to


Feedback

Was this page helpful?