21 lines
590 B
C#
21 lines
590 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.
|
|
|
|
#if RAZOR_EXTENSION_DEVELOPER_MODE
|
|
using System.IO;
|
|
|
|
namespace Microsoft.VisualStudio.RazorExtension.RazorInfo
|
|
{
|
|
public class ProjectViewModel : NotifyPropertyChanged
|
|
{
|
|
internal ProjectViewModel(string filePath)
|
|
{
|
|
FilePath = filePath;
|
|
}
|
|
|
|
public string FilePath { get; }
|
|
|
|
public string Name => Path.GetFileNameWithoutExtension(FilePath);
|
|
}
|
|
}
|
|
#endif |