2 implementations of IsRemoteClient
Microsoft.VisualStudio.LanguageServices.Razor (1)
LspEditorFeatureDetector.cs (1)
50public bool IsRemoteClient()
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (1)
Cohost\CohostEndpointTest.cs (1)
177public bool IsRemoteClient() => throw new NotImplementedException();
6 references to IsRemoteClient
Microsoft.VisualStudio.LanguageServices.Razor (3)
LanguageClient\RazorContentTypeChangeListener.cs (1)
96if (!_lspEditorFeatureDetector.IsRemoteClient())
RazorLSPTextViewConnectionListener.cs (1)
96if (!_editorFeatureDetector.IsRemoteClient())
VisualStudioLanguageServerFeatureOptions.cs (1)
35private bool IsCodespacesOrLiveshare => _lspEditorFeatureDetector.IsRemoteClient() || _lspEditorFeatureDetector.IsLiveShareHost();
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (3)
LanguageClient\RazorContentTypeChangeListenerTest.cs (2)
68var featureDetector = StrictMock.Of<ILspEditorFeatureDetector>(detector => detector.IsRemoteClient() == true); 214detector.IsRemoteClient() == false);
LspEditorFeatureDetectorTest.cs (1)
61var result = featureDetector.IsRemoteClient();