예제 #1
0
 public Task <SumType <SemanticTokens, SemanticTokensEdits> > GetTextDocumentSemanticTokensEditsAsync(SemanticTokensEditsParams semanticTokensEditsParams, CancellationToken cancellationToken)
 => _requestHandlerProvider.ExecuteRequestAsync <SemanticTokensEditsParams, SumType <SemanticTokens, SemanticTokensEdits> >(_queue, SemanticTokensMethods.TextDocumentSemanticTokensEditsName,
                                                                                                                            semanticTokensEditsParams, _clientCapabilities, _clientName, cancellationToken);
예제 #2
0
        public Task <SumType <SemanticTokens, SemanticTokensEdits> > GetTextDocumentSemanticTokensEditsAsync(SemanticTokensEditsParams semanticTokensEditsParams, CancellationToken cancellationToken)
        {
            Contract.ThrowIfNull(_clientCapabilities, $"{nameof(InitializeAsync)} has not been called.");

            return(RequestDispatcher.ExecuteRequestAsync <SemanticTokensEditsParams, SumType <SemanticTokens, SemanticTokensEdits> >(Queue, SemanticTokensMethods.TextDocumentSemanticTokensEditsName,
                                                                                                                                     semanticTokensEditsParams, _clientCapabilities, ClientName, cancellationToken));
        }
예제 #3
0
 public abstract Task <ProvideSemanticTokensEditsResponse> ProvideSemanticTokensEditsAsync(SemanticTokensEditsParams semanticTokensParams, CancellationToken cancellationToken);