1 instantiation of VSGetProjectContextsParams
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
ProjectContext\GetTextDocumentWithContextHandlerTests.cs (1)
185
=>
new
()
9 references to VSGetProjectContextsParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Handler\ProjectContext\GetTextDocumentWithContextHandler.cs (3)
24
internal class GetTextDocumentWithContextHandler() : ILspServiceDocumentRequestHandler<
VSGetProjectContextsParams
, VSProjectContextList?>
29
public TextDocumentIdentifier GetTextDocumentIdentifier(
VSGetProjectContextsParams
request) => new() { DocumentUri = request.TextDocument.DocumentUri };
31
public async Task<VSProjectContextList?> HandleRequestAsync(
VSGetProjectContextsParams
request, RequestContext context, CancellationToken cancellationToken)
Protocol\Extensions\VSGetProjectContextsParams.cs (1)
10
/// <see cref="
VSGetProjectContextsParams
" /> represents the parameter that is sent
Protocol\Extensions\VSMethods.cs (2)
16
/// This method has a parameter of type <see cref="
VSGetProjectContextsParams
" /> and a return value of type
31
public static readonly LspRequest<
VSGetProjectContextsParams
, VSProjectContextList> GetProjectContexts = new(GetProjectContextsName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
ProjectContext\GetTextDocumentWithContextHandlerTests.cs (3)
174
return await testLspServer.ExecuteRequestAsync<LSP.
VSGetProjectContextsParams
, LSP.VSProjectContextList?>(LSP.VSMethods.GetProjectContextsName,
180
return await testLspServer.ExecuteRequestAsync<LSP.
VSGetProjectContextsParams
, LSP.VSProjectContextList?>(LSP.VSMethods.GetProjectContextsName,
184
private static LSP.
VSGetProjectContextsParams
CreateGetProjectContextParams(DocumentUri uri)