Base:
property
RemoteServiceInvoker
Microsoft.VisualStudio.Razor.LanguageClient.Cohost.CohostTestBase.RemoteServiceInvoker
74 references to RemoteServiceInvoker
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (74)
Cohost\CohostApplyRenameEditEndpointTest.cs (3)
43var endpoint = new WorkspaceWillRenameEndpoint(RemoteServiceInvoker, LoggerFactory); 112var endpoint = new WorkspaceWillRenameEndpoint(RemoteServiceInvoker, LoggerFactory); 180var endpoint = new WorkspaceWillRenameEndpoint(RemoteServiceInvoker, LoggerFactory);
Cohost\CohostDataTipRangeEndpointTest.cs (1)
70var endpoint = new CohostDataTipRangeEndpoint(IncompatibleProjectService, RemoteServiceInvoker);
Cohost\CohostDocumentPullDiagnosticsTest.cs (2)
43var result = await MakeDiagnosticsRequestAsync(document, taskListRequest: false, requestInvoker, IncompatibleProjectService, RemoteServiceInvoker, ClientCapabilitiesService, LoggerFactory, DisposalToken); 592var result = await MakeDiagnosticsRequestAsync(document, taskListRequest, requestInvoker, IncompatibleProjectService, RemoteServiceInvoker, ClientCapabilitiesService, LoggerFactory, DisposalToken);
Cohost\CohostDocumentSpellCheckEndpointTest.cs (1)
94var endpoint = new CohostDocumentSpellCheckEndpoint(IncompatibleProjectService, RemoteServiceInvoker);
Cohost\CohostInlineCompletionEndpointTest.cs (1)
87var endpoint = new CohostInlineCompletionEndpoint(IncompatibleProjectService, RemoteServiceInvoker, ClientSettingsManager);
Cohost\CohostOnTypeFormattingEndpointTest.cs (2)
131var generatedHtml = await RemoteServiceInvoker.TryInvokeAsync<IRemoteHtmlDocumentService, string?>(document.Project.Solution, 147var endpoint = new CohostOnTypeFormattingEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker, ClientSettingsManager, LoggerFactory);
Cohost\CohostRangeFormattingEndpointTest.cs (2)
175var generatedHtml = await RemoteServiceInvoker.TryInvokeAsync<IRemoteHtmlDocumentService, string?>(document.Project.Solution, 189var endpoint = new CohostRangeFormattingEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker, ClientSettingsManager, LoggerFactory);
Cohost\CohostRoslynCodeActionTest.cs (2)
228invoker.SetInvoker(RemoteServiceInvoker); 277var mappingService = new RazorSourceGeneratedDocumentSpanMappingService(RemoteServiceInvoker);
Cohost\CohostRoslynGoToDefTest.cs (1)
66invoker.SetInvoker(RemoteServiceInvoker);
Cohost\CohostRoslynRenameTest.cs (2)
303var mappingService = new RazorSourceGeneratedDocumentSpanMappingService(RemoteServiceInvoker); 323invoker.SetInvoker(RemoteServiceInvoker);
Cohost\CohostSnippetCompletionTest.cs (2)
52RemoteServiceInvoker, 82RemoteServiceInvoker,
Cohost\CohostUriPresentationEndpointTest.cs (1)
250var endpoint = new CohostUriPresentationEndpoint(IncompatibleProjectService, RemoteServiceInvoker, FilePathService, requestInvoker);
Cohost\CohostValidateBreakableRangeEndpointTest.cs (1)
115var endpoint = new CohostValidateBreakableRangeEndpoint(IncompatibleProjectService, RemoteServiceInvoker);
Cohost\CohostWrapWithTagEndpointTest.cs (1)
207var endpoint = new CohostWrapWithTagEndpoint(RemoteServiceInvoker, requestInvoker, documentManager, IncompatibleProjectService, LoggerFactory);
Cohost\Formatting\FormattingTestBase.cs (2)
56var generatedHtml = await RemoteServiceInvoker.TryInvokeAsync<IRemoteHtmlDocumentService, string?>(document.Project.Solution, 68var endpoint = new CohostOnTypeFormattingEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker, clientSettingsManager, LoggerFactory);
Cohost\OrganizeUsingsCommandTest.cs (2)
623var command = new OrganizeUsingsCommand(RemoteServiceInvoker); 640var command = new OrganizeUsingsCommand(RemoteServiceInvoker);
Cohost\RemoteDebugInfoServiceTest.cs (2)
467var result = await RemoteServiceInvoker 493var result = await RemoteServiceInvoker
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\CodeActions\CohostCodeActionsEndpointTestBase.cs (3)
138var endpoint = new CohostCodeActionsEndpoint(IncompatibleProjectService, RemoteServiceInvoker, ClientCapabilitiesService, requestInvoker, NoOpTelemetryReporter.Instance); 149var result = await CohostDocumentPullDiagnosticsTest.MakeDiagnosticsRequestAsync(document, taskListRequest: false, requestInvoker, IncompatibleProjectService, RemoteServiceInvoker, ClientCapabilitiesService, LoggerFactory, DisposalToken); 196var endpoint = new CohostCodeActionsResolveEndpoint(IncompatibleProjectService, RemoteServiceInvoker, ClientCapabilitiesService, requestInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\DocumentExcerpt\RazorDocumentExcerptServiceTest.cs (7)
32var service = new RazorSourceGeneratedDocumentExcerptService(RemoteServiceInvoker); 110var service = new RazorSourceGeneratedDocumentExcerptService(RemoteServiceInvoker); 163var service = new RazorSourceGeneratedDocumentExcerptService(RemoteServiceInvoker); 270var service = new RazorSourceGeneratedDocumentExcerptService(RemoteServiceInvoker); 374var service = new RazorSourceGeneratedDocumentExcerptService(RemoteServiceInvoker); 448var service = new RazorSourceGeneratedDocumentExcerptService(RemoteServiceInvoker); 557var service = new RazorSourceGeneratedDocumentExcerptService(RemoteServiceInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionEndpointTest.cs (4)
535RemoteServiceInvoker, 1335RemoteServiceInvoker, 1442RemoteServiceInvoker, 1478RemoteServiceInvoker,
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentCompletionResolveEndpointTest.cs (1)
57RemoteServiceInvoker,
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentHighlightEndpointTest.cs (1)
155var endpoint = new CohostDocumentHighlightEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentSymbolEndpointTest.cs (2)
330var endpoint = new CohostDocumentSymbolEndpoint(IncompatibleProjectService, RemoteServiceInvoker); 360var endpoint = new CohostDocumentSymbolEndpoint(IncompatibleProjectService, RemoteServiceInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFindAllReferencesEndpointTest.cs (1)
305var endpoint = new CohostFindAllReferencesEndpoint(IncompatibleProjectService, RemoteServiceInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostFoldingRangeEndpointTest.cs (1)
393var endpoint = new CohostFoldingRangeEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker, LoggerFactory);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostGeneratedDocumentContentsEndpointTest.cs (1)
57var endpoint = new CohostGeneratedDocumentContentsEndpoint(IncompatibleProjectService, RemoteServiceInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostGoToDefinitionEndpointTest.cs (1)
1079var endpoint = new CohostGoToDefinitionEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker, FilePathService);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostGoToImplementationEndpointTest.cs (1)
189var endpoint = new CohostGoToImplementationEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker, filePathService);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostHoverEndpointTest.cs (1)
392var endpoint = new CohostHoverEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostInlayHintEndpointTest.cs (3)
144var endpoint = new CohostInlayHintEndpoint(IncompatibleProjectService, RemoteServiceInvoker); 204var endpoint = new CohostInlayHintEndpoint(IncompatibleProjectService, RemoteServiceInvoker); 205var resolveEndpoint = new CohostInlayHintResolveEndpoint(IncompatibleProjectService, RemoteServiceInvoker, LoggerFactory);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostLinkedEditingRangeEndpointTest.cs (1)
164var endpoint = new CohostLinkedEditingRangeEndpoint(IncompatibleProjectService, RemoteServiceInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostOnAutoInsertEndpointTest.cs (1)
578RemoteServiceInvoker,
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostRenameEndpointTest.cs (1)
1479var endpoint = new CohostRenameEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostSemanticTokensRangeEndpointTest.cs (1)
417var endpoint = new CohostSemanticTokensRangeEndpoint(IncompatibleProjectService, RemoteServiceInvoker, NoOpTelemetryReporter.Instance);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostSignatureHelpEndpointTest.cs (1)
99var endpoint = new CohostSignatureHelpEndpoint(IncompatibleProjectService, RemoteServiceInvoker, ClientSettingsManager, requestInvoker);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostWillRenameEndpointTest.cs (1)
171var endpoint = new WorkspaceWillRenameEndpoint(RemoteServiceInvoker, LoggerFactory);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Formatting\DocumentFormattingTestBase.cs (3)
64var generatedHtml = await RemoteServiceInvoker.TryInvokeAsync<IRemoteHtmlDocumentService, string?>(document.Project.Solution, 136var endpoint = new CohostDocumentFormattingEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker, clientSettingsManager, LoggerFactory); 151var rangeEndpoint = new CohostRangeFormattingEndpoint(IncompatibleProjectService, RemoteServiceInvoker, requestInvoker, clientSettingsManager, LoggerFactory);
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\NestedFiles\RemoteAddNestedFileServiceTest.cs (10)
19var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>( 35var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>( 51var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>( 79var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>( 110var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>( 137var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>( 154var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>( 190var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>( 213var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>( 237var result = await RemoteServiceInvoker.TryInvokeAsync<IRemoteAddNestedFileService, WorkspaceEdit?>(