1 instantiation of Response
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Initialize\LocaleTests.cs (1)
98
return Task.FromResult(new
Response
(CultureInfo.CurrentUICulture.Name));
7 references to Response
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (7)
Initialize\LocaleTests.cs (7)
32
var result = await testLspServer.ExecuteRequestAsync<Request,
Response
>(LocaleTestHandler.MethodName, new Request(), CancellationToken.None);
49
var resultOne = await testLspServerOne.ExecuteRequestAsync<Request,
Response
>(LocaleTestHandler.MethodName, new Request(), CancellationToken.None);
50
var resultTwo = await testLspServerTwo.ExecuteRequestAsync<Request,
Response
>(LocaleTestHandler.MethodName, new Request(), CancellationToken.None);
64
var result = await testLspServer.ExecuteRequestAsync<Request,
Response
>(LocaleTestHandler.MethodName, new Request(), CancellationToken.None);
77
var result = await testLspServer.ExecuteRequestAsync<Request,
Response
>(LocaleTestHandler.MethodName, new Request(), CancellationToken.None);
83
internal class LocaleTestHandler : ILspServiceRequestHandler<Request,
Response
>
96
public Task<
Response
> HandleRequestAsync(Request request, RequestContext context, CancellationToken cancellationToken)