// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
namespace Microsoft.AspNetCore.Razor.Language
{
///
/// A that does not exist.
///
internal class NotFoundProjectItem : RazorProjectItem
{
///
/// Initializes a new instance of .
///
/// The base path.
/// The path.
public NotFoundProjectItem(string basePath, string path)
{
BasePath = basePath;
FilePath = path;
}
///
public override string BasePath { get; }
///
public override string FilePath { get; }
///
public override bool Exists => false;
///
public override string PhysicalPath => throw new NotSupportedException();
///
public override Stream Read() => throw new NotSupportedException();
}
}