5 references to Name
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (5)
HandlerProviderTests.cs (2)
37
var methodHandler = handlerProvider.GetMethodHandler(TestNotificationHandler.
Name
, TestNotificationHandler.RequestTypeRef, responseTypeRef: null, LanguageServerConstants.DefaultLanguageName);
75
r => Assert.Equal(TestNotificationHandler.
Name
, r.MethodName),
Mocks\TestMethodHandlers.cs (2)
45
[LanguageServerEndpoint(
Name
, LanguageServerConstants.DefaultLanguageName)]
53
public static readonly RequestHandlerMetadata Metadata = new(
Name
, RequestTypeRef, ResponseTypeRef: null, LanguageServerConstants.DefaultLanguageName);
RequestExecutionQueueTests.cs (1)
124
var response = await requestExecutionQueue.ExecuteAsync(JToken.FromObject(new MockRequest(1)), TestNotificationHandler.
Name
, lspServices, CancellationToken.None);