3 implementations of MakeHtmlLspRequestAsync
Microsoft.AspNetCore.Razor.Test.Common.Cohosting (1)
TestHtmlRequestInvoker.cs (1)
33public Task<TResponse?> MakeHtmlLspRequestAsync<TRequest, TResponse>(TextDocument razorDocument, string method, TRequest request, TimeSpan threshold, Guid correlationId, CancellationToken cancellationToken) where TRequest : notnull
Microsoft.VisualStudio.LanguageServices.Razor (1)
LanguageClient\Cohost\HtmlRequestInvoker.cs (1)
34public async Task<TResponse?> MakeHtmlLspRequestAsync<TRequest, TResponse>(TextDocument razorDocument, string method, TRequest request, TimeSpan threshold, Guid correlationId, CancellationToken cancellationToken) where TRequest : notnull
Microsoft.VisualStudioCode.RazorExtension (1)
Services\HtmlRequestInvoker.cs (1)
30public async Task<TResponse?> MakeHtmlLspRequestAsync<TRequest, TResponse>(TextDocument razorDocument, string method, TRequest request, TimeSpan threshold, Guid correlationId, CancellationToken cancellationToken) where TRequest : notnull
7 references to MakeHtmlLspRequestAsync
Microsoft.VisualStudio.LanguageServices.Razor (4)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\CodeActions\CohostCodeActionsEndpoint.cs (1)
124var result = await _requestInvoker.MakeHtmlLspRequestAsync<VSCodeActionParams, RazorVSInternalCodeAction[]>(
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Completion\CohostDocumentCompletionEndpoint.cs (1)
282var result = await _requestInvoker.MakeHtmlLspRequestAsync<RazorVSInternalCompletionParams, RazorVSInternalCompletionList>(
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Diagnostics\CohostDocumentPullDiagnosticsEndpointBase.cs (1)
127var result = await _requestInvoker.MakeHtmlLspRequestAsync<TRequest, TResponse>(
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\HtmlDocumentServices\HtmlRequestInvokerExtensions.cs (1)
17return requestInvoker.MakeHtmlLspRequestAsync<TRequest, TResponse>(razorDocument, method, request, threshold: TimeSpan.Zero, correlationId: Guid.Empty, cancellationToken);
Microsoft.VisualStudioCode.RazorExtension (3)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Completion\CohostDocumentCompletionEndpoint.cs (1)
282var result = await _requestInvoker.MakeHtmlLspRequestAsync<RazorVSInternalCompletionParams, RazorVSInternalCompletionList>(
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\Diagnostics\CohostDocumentPullDiagnosticsEndpointBase.cs (1)
127var result = await _requestInvoker.MakeHtmlLspRequestAsync<TRequest, TResponse>(
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\HtmlDocumentServices\HtmlRequestInvokerExtensions.cs (1)
17return requestInvoker.MakeHtmlLspRequestAsync<TRequest, TResponse>(razorDocument, method, request, threshold: TimeSpan.Zero, correlationId: Guid.Empty, cancellationToken);