/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer.UnitTests/Utilities/ILspClient.cs
16 строк
772 B
Joey Robichaud
Change tests to launch the LanguageServer directly instead of hosting it.
16 янв 2025, 04:38
16 янв 2025, 04:38
550c6f8
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.CodeAnalysis.LanguageServer.UnitTests; internal interface ILspClient { Task<TResponseType?> ExecuteRequestAsync<TRequestType, TResponseType>(string methodName, TRequestType request, CancellationToken cancellationToken) where TRequestType : class; Task ExecuteNotificationAsync<RequestType>(string methodName, RequestType request) where RequestType : class; Task ExecuteNotification0Async(string methodName); void AddClientLocalRpcTarget(object target); void AddClientLocalRpcTarget(string methodName, Delegate handler); }