1 instantiation of TestDefaultLanguageHandler
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (1)
Mocks\TestMethodHandlers.cs (1)
162
public static readonly IMethodHandler Instance = new
TestDefaultLanguageHandler
();
10 references to TestDefaultLanguageHandler
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (10)
HandlerProviderTests.cs (9)
85
(
TestDefaultLanguageHandler
.Metadata,
TestDefaultLanguageHandler
.Instance),
88
var defaultMethodHandler = handlerProvider.GetMethodHandler(
TestDefaultLanguageHandler
.Name,
TestDefaultLanguageHandler
.RequestType,
TestDefaultLanguageHandler
.ResponseType, LanguageServerConstants.DefaultLanguageName);
89
Assert.Equal(
TestDefaultLanguageHandler
.Instance, defaultMethodHandler);
91
var xamlMethodHandler = handlerProvider.GetMethodHandler(
TestDefaultLanguageHandler
.Name,
TestDefaultLanguageHandler
.RequestType,
TestDefaultLanguageHandler
.ResponseType, TestXamlLanguageHandler.Language);
Mocks\TestMethodHandlers.cs (1)
176
public const string Name =
TestDefaultLanguageHandler
.Name;