4 references to RequestType
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (4)
HandlerProviderTests.cs (3)
19
var methodHandler = handlerProvider.GetMethodHandler(TestMethodHandler.Name, TestMethodHandler.
RequestType
, TestMethodHandler.ResponseType, LanguageServerConstants.DefaultLanguageName);
55
Assert.Throws<InvalidOperationException>(() => handlerProvider.GetMethodHandler("UndefinedMethod", TestMethodHandler.
RequestType
, TestMethodHandler.ResponseType, LanguageServerConstants.DefaultLanguageName));
63
Assert.Throws<InvalidOperationException>(() => handlerProvider.GetMethodHandler(TestMethodHandler.Name, TestMethodHandler.
RequestType
, responseTypeRef: TypeRef.Of<long>(), LanguageServerConstants.DefaultLanguageName));
Mocks\TestMethodHandlers.cs (1)
24
public static RequestHandlerMetadata Metadata = new(Name,
RequestType
, ResponseType, LanguageServerConstants.DefaultLanguageName);