27 implementations of HandleRequestAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol (27)
ExternalAccess\Razor\FormatNewFileHandler.cs (1)
39
public async Task<string?>
HandleRequestAsync
(FormatNewFileParams request, RequestContext context, CancellationToken cancellationToken)
ExternalAccess\Razor\SemanticTokensRangesHandler.cs (1)
40
public async Task<SemanticTokens>
HandleRequestAsync
(
ExternalAccess\Razor\SimplifyMethodHandler.cs (1)
36
public async Task<TextEdit[]?>
HandleRequestAsync
(
Handler\CodeActions\CodeActionResolveHandler.cs (1)
56
public async Task<LSP.CodeAction>
HandleRequestAsync
(LSP.CodeAction codeAction, RequestContext context, CancellationToken cancellationToken)
Handler\CodeActions\CodeActionsHandler.cs (1)
54
public async Task<LSP.CodeAction[]>
HandleRequestAsync
(LSP.CodeActionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\CodeLens\CodeLensHandler.cs (1)
45
public async Task<LSP.CodeLens[]?>
HandleRequestAsync
(LSP.CodeLensParams request, RequestContext context, CancellationToken cancellationToken)
Handler\Commands\AbstractExecuteWorkspaceCommandHandler.cs (1)
20
public abstract Task<object>
HandleRequestAsync
(ExecuteCommandParams request, RequestContext context, CancellationToken cancellationToken);
Handler\Completion\CompletionHandler.cs (1)
47
public async Task<LSP.CompletionList?>
HandleRequestAsync
(
Handler\Completion\CompletionResolveHandler.cs (1)
47
public Task<LSP.CompletionItem>
HandleRequestAsync
(LSP.CompletionItem completionItem, RequestContext context, CancellationToken cancellationToken)
Handler\Definitions\AbstractGoToDefinitionHandler.cs (1)
36
public abstract Task<LSP.Location[]?>
HandleRequestAsync
(TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken);
Handler\FoldingRanges\FoldingRangesHandler.cs (1)
39
public Task<FoldingRange[]?>
HandleRequestAsync
(FoldingRangeParams request, RequestContext context, CancellationToken cancellationToken)
Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
51
public abstract Task<ResponseType>
HandleRequestAsync
(RequestType request, RequestContext context, CancellationToken cancellationToken);
Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
38
public async Task<TextEdit[]?>
HandleRequestAsync
(
Handler\Highlights\DocumentHighlightHandler.cs (1)
43
public Task<DocumentHighlight[]?>
HandleRequestAsync
(TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\Hover\HoverHandler.cs (1)
42
public Task<Hover?>
HandleRequestAsync
(TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\InlayHint\InlayHintHandler.cs (1)
41
public Task<LSP.InlayHint[]?>
HandleRequestAsync
(InlayHintParams request, RequestContext context, CancellationToken cancellationToken)
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
104
public async Task<VSInternalInlineCompletionList?>
HandleRequestAsync
(VSInternalInlineCompletionRequest request, RequestContext context, CancellationToken cancellationToken)
Handler\MapCode\MapCodeHandler.cs (1)
35
public async Task<WorkspaceEdit?>
HandleRequestAsync
(VSInternalMapCodeParams request, RequestContext context, CancellationToken cancellationToken)
Handler\ProjectContext\GetTextDocumentWithContextHandler.cs (1)
33
public Task<VSProjectContextList?>
HandleRequestAsync
(VSGetProjectContextsParams request, RequestContext context, CancellationToken cancellationToken)
Handler\References\FindAllReferencesHandler.cs (1)
49
public async Task<SumType<VSInternalReferenceItem, LSP.Location>[]?>
HandleRequestAsync
(
Handler\References\FindImplementationsHandler.cs (1)
37
public Task<LSP.Location[]>
HandleRequestAsync
(LSP.TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\SemanticTokens\SemanticTokensRangeHandler.cs (1)
37
public async Task<LSP.SemanticTokens>
HandleRequestAsync
(
Handler\ServerLifetime\InitializeHandler.cs (1)
24
public Task<InitializeResult>
HandleRequestAsync
(InitializeParams request, RequestContext context, CancellationToken cancellationToken)
Handler\SpellCheck\AbstractSpellCheckingHandler.cs (1)
64
public async Task<TReport[]?>
HandleRequestAsync
(
Handler\Symbols\DocumentSymbolsHandler.cs (1)
41
public Task<SumType<DocumentSymbol[], SymbolInformation[]>>
HandleRequestAsync
(
Handler\WorkspaceCommand\ExecuteWorkspaceCommandHandler.cs (1)
30
public async Task<object?>
HandleRequestAsync
(ExecuteCommandParams request, RequestContext context, CancellationToken cancellationToken)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\Handlers\InitializeHandler.cs (1)
26
public Task<TResponse>
HandleRequestAsync
(TRequest request, TRequestContext context, CancellationToken cancellationToken)
1 reference to HandleRequestAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\QueueItem.cs (1)
191
var result = await requestHandler.
HandleRequestAsync
(request, context, cancellationToken).ConfigureAwait(false);