25 implementations of GetTextDocumentIdentifier
Microsoft.CodeAnalysis.LanguageServer.Protocol (25)
ExternalAccess\Razor\SemanticTokensRangesHandler.cs (1)
34
public TextDocumentIdentifier
GetTextDocumentIdentifier
(SemanticTokensRangesParams request)
ExternalAccess\Razor\SimplifyMethodHandler.cs (1)
34
public TextDocumentIdentifier
GetTextDocumentIdentifier
(SimplifyMethodParams request) => request.TextDocument;
Handler\CodeActions\CodeActionResolveHandler.cs (1)
53
public TextDocumentIdentifier
GetTextDocumentIdentifier
(LSP.CodeAction request)
Handler\CodeActions\CodeActionsHandler.cs (1)
52
public TextDocumentIdentifier
GetTextDocumentIdentifier
(CodeActionParams request) => request.TextDocument;
Handler\CodeLens\CodeLensHandler.cs (1)
42
public LSP.TextDocumentIdentifier
GetTextDocumentIdentifier
(LSP.CodeLensParams request)
Handler\Commands\AbstractExecuteWorkspaceCommandHandler.cs (1)
18
public abstract TextDocumentIdentifier
GetTextDocumentIdentifier
(ExecuteCommandParams request);
Handler\Completion\CompletionHandler.cs (1)
45
public LSP.TextDocumentIdentifier
GetTextDocumentIdentifier
(LSP.CompletionParams request) => request.TextDocument;
Handler\Completion\CompletionResolveHandler.cs (1)
44
public LSP.TextDocumentIdentifier?
GetTextDocumentIdentifier
(LSP.CompletionItem request)
Handler\Definitions\AbstractGoToDefinitionHandler.cs (1)
34
public TextDocumentIdentifier
GetTextDocumentIdentifier
(LSP.TextDocumentPositionParams request) => request.TextDocument;
Handler\DocumentChanges\DidCloseHandler.cs (1)
29
public TextDocumentIdentifier
GetTextDocumentIdentifier
(LSP.DidCloseTextDocumentParams request) => request.TextDocument;
Handler\DocumentChanges\DidOpenHandler.cs (1)
29
public Uri
GetTextDocumentIdentifier
(LSP.DidOpenTextDocumentParams request) => request.TextDocument.Uri;
Handler\FoldingRanges\FoldingRangesHandler.cs (1)
37
public TextDocumentIdentifier
GetTextDocumentIdentifier
(FoldingRangeParams request) => request.TextDocument;
Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
47
public abstract LSP.TextDocumentIdentifier
GetTextDocumentIdentifier
(RequestType request);
Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
36
public TextDocumentIdentifier
GetTextDocumentIdentifier
(DocumentOnTypeFormattingParams request) => request.TextDocument;
Handler\Highlights\DocumentHighlightHandler.cs (1)
41
public TextDocumentIdentifier
GetTextDocumentIdentifier
(TextDocumentPositionParams request) => request.TextDocument;
Handler\Hover\HoverHandler.cs (1)
40
public TextDocumentIdentifier
GetTextDocumentIdentifier
(TextDocumentPositionParams request) => request.TextDocument;
Handler\InlayHint\InlayHintHandler.cs (1)
38
public TextDocumentIdentifier
GetTextDocumentIdentifier
(InlayHintParams request)
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
99
public TextDocumentIdentifier
GetTextDocumentIdentifier
(VSInternalInlineCompletionRequest request)
Handler\ProjectContext\GetTextDocumentWithContextHandler.cs (1)
31
public TextDocumentIdentifier
GetTextDocumentIdentifier
(VSGetProjectContextsParams request) => new TextDocumentIdentifier { Uri = request.TextDocument.Uri };
Handler\References\FindAllReferencesHandler.cs (1)
47
public TextDocumentIdentifier
GetTextDocumentIdentifier
(VSInternalReferenceParams request) => request.TextDocument;
Handler\References\FindImplementationsHandler.cs (1)
35
public LSP.TextDocumentIdentifier
GetTextDocumentIdentifier
(LSP.TextDocumentPositionParams request) => request.TextDocument;
Handler\RelatedDocuments\RelatedDocumentsHandler.cs (1)
38
public TextDocumentIdentifier
GetTextDocumentIdentifier
(VSInternalRelatedDocumentParams requestParams)
Handler\SemanticTokens\SemanticTokensRangeHandler.cs (1)
31
public TextDocumentIdentifier
GetTextDocumentIdentifier
(LSP.SemanticTokensRangeParams request)
Handler\SpellCheck\AbstractSpellCheckingHandler.cs (1)
45
public abstract TextDocumentIdentifier?
GetTextDocumentIdentifier
(TParams requestParams);
Handler\Symbols\DocumentSymbolsHandler.cs (1)
39
public TextDocumentIdentifier
GetTextDocumentIdentifier
(RoslynDocumentSymbolParams request) => request.TextDocument;
7 references to GetTextDocumentIdentifier
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Handler\RequestContext.cs (2)
101
/// <see cref="ITextDocumentIdentifierHandler{RequestType, TextDocumentIdentifierType}.
GetTextDocumentIdentifier
(RequestType)"/>.
124
/// <see cref="ITextDocumentIdentifierHandler{RequestType, TextDocumentIdentifierType}.
GetTextDocumentIdentifier
(RequestType)"/>.
Handler\RequestContextFactory.cs (3)
38
textDocumentIdentifier = tHandler.
GetTextDocumentIdentifier
(requestParam);
42
textDocumentIdentifier = nullHandler.
GetTextDocumentIdentifier
(requestParam);
46
var uri = uHandler.
GetTextDocumentIdentifier
(requestParam);
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\IRequestHandler.cs (2)
18
/// <param name="context">The LSP request context, which should have been filled in with document information from <see cref="ITextDocumentIdentifierHandler{RequestType, TextDocumentIdentifierType}.
GetTextDocumentIdentifier
(RequestType)"/> if applicable.</param>
29
/// <param name="context">The LSP request context, which should have been filled in with document information from <see cref="ITextDocumentIdentifierHandler{RequestType, TextDocumentIdentifierType}.
GetTextDocumentIdentifier
(RequestType)"/> if applicable.</param>