23 lines
659 B
C#
23 lines
659 B
C#
// 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;
|
|
|
|
namespace Microsoft.CodeAnalysis.Razor.ProjectSystem
|
|
{
|
|
internal class DefaultProjectSnapshot : ProjectSnapshot
|
|
{
|
|
public DefaultProjectSnapshot(Project underlyingProject)
|
|
{
|
|
if (underlyingProject == null)
|
|
{
|
|
throw new ArgumentNullException(nameof(underlyingProject));
|
|
}
|
|
|
|
UnderlyingProject = underlyingProject;
|
|
}
|
|
|
|
public override Project UnderlyingProject { get; }
|
|
}
|
|
}
|