/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/EditorFeatures/Core/IInlineRenameService.cs
29 строк
1 KB
Cyrus Najmabadi
Remove unused usings
22 май 2024, 09:09
22 май 2024, 09:09
a7aa293
Код
Авторство
О чём код?
// 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 Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis.Editor; /// <summary> /// Provides services for starting an interactive rename session. /// </summary> internal interface IInlineRenameService { /// <summary> /// Starts an interactive rename session. If an existing inline session was active, it will /// commit the previous session, possibly causing changes to the text buffer. /// </summary> /// <param name="document">The Document containing the triggerSpan.</param> /// <param name="triggerSpan">The triggerSpan itself.</param> /// <param name="cancellationToken">An optional cancellation token.</param> /// <returns>The rename session.</returns> InlineRenameSessionInfo StartInlineSession(Document document, TextSpan triggerSpan, CancellationToken cancellationToken); /// <summary> /// Returns the currently active inline session, or null if none is active. /// </summary> IInlineRenameSession? ActiveSession { get; } }