Misc project item cleanup
This commit is contained in:
Ryan Nowak 2017-05-12 13:48:30 -07:00
parent a1a560ddda
commit 2b9c69bed8
3 changed files with 5 additions and 7 deletions

View File

@ -28,8 +28,6 @@ namespace Microsoft.AspNetCore.Razor.Language
public override bool Exists => File.Exists;
public override string FileName => File.Name;
public override string PhysicalPath => File.FullName;
public override Stream Read() => File.OpenRead();

View File

@ -9,7 +9,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary>
/// A <see cref="RazorProjectItem"/> that does not exist.
/// </summary>
public class NotFoundProjectItem : RazorProjectItem
internal class NotFoundProjectItem : RazorProjectItem
{
/// <summary>
/// Initializes a new instance of <see cref="NotFoundProjectItem"/>.

View File

@ -41,7 +41,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary>
/// The root relative path of the item.
/// </summary>
public virtual string CombinedPath
public string CombinedPath
{
get
{
@ -59,7 +59,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary>
/// The extension of the file.
/// </summary>
public virtual string Extension
public string Extension
{
get
{
@ -78,7 +78,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary>
/// The name of the file including the extension.
/// </summary>
public virtual string FileName
public string FileName
{
get
{
@ -90,7 +90,7 @@ namespace Microsoft.AspNetCore.Razor.Language
/// <summary>
/// Path relative to <see cref="BasePath"/> without the extension.
/// </summary>
public virtual string PathWithoutExtension
public string PathWithoutExtension
{
get
{