Skip to content

Commit 70421b3

Browse files
committed
Remove unnecessary interface
1 parent 2fd2638 commit 70421b3

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/ProjectSystem/IMonitorProjectConfigurationFilePathHandler.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/ProjectSystem/MonitorProjectConfigurationFilePathEndpoint.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@
77
using System.IO;
88
using System.Threading;
99
using System.Threading.Tasks;
10+
using Microsoft.AspNetCore.Razor.LanguageServer.Common;
1011
using Microsoft.AspNetCore.Razor.LanguageServer.EndpointContracts;
1112
using Microsoft.AspNetCore.Razor.Utilities;
1213
using Microsoft.CodeAnalysis.Razor;
1314
using Microsoft.CodeAnalysis.Razor.Workspaces;
15+
using Microsoft.CommonLanguageServerProtocol.Framework;
1416
using Microsoft.Extensions.Logging;
1517

1618
namespace Microsoft.AspNetCore.Razor.LanguageServer;
1719

18-
internal class MonitorProjectConfigurationFilePathEndpoint : IMonitorProjectConfigurationFilePathHandler, IDisposable
20+
[LanguageServerEndpoint(LanguageServerConstants.RazorMonitorProjectConfigurationFilePathEndpoint)]
21+
internal class MonitorProjectConfigurationFilePathEndpoint : IRazorNotificationHandler<MonitorProjectConfigurationFilePathParams>, IDisposable
1922
{
2023
private readonly ProjectSnapshotManagerDispatcher _dispatcher;
2124
private readonly WorkspaceDirectoryPathResolver _workspaceDirectoryPathResolver;

0 commit comments

Comments
 (0)