/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/ITextViewWindowInProcess.cs
20 строк
736 B
Cyrus Najmabadi
Move to file scoped namespace in tests
22 май 2024, 08:22
22 май 2024, 08:22
42e8023
Код
Авторство
О чём код?
// 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. using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.Extensibility.Testing; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; namespace Roslyn.VisualStudio.NewIntegrationTests.InProcess; internal interface ITextViewWindowInProcess { TestServices TestServices { get; } Task<IWpfTextView> GetActiveTextViewAsync(CancellationToken cancellationToken); Task<ITextBuffer?> GetBufferContainingCaretAsync(IWpfTextView view, CancellationToken cancellationToken); }