/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/Core/Def/SemanticSearch/ISemanticSearchCopilotUIProvider.cs
29 строк
815 B
Tomáš Matoušek
Add Copilot UI prototype to Semantic Search window (#77222)
21 фев 2025, 18:44
Не верифицирован
21 фев 2025, 18:44
a0da860
Код
Авторство
О чём код?
// 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.Windows.Controls; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.Text.Editor; namespace Microsoft.CodeAnalysis.SemanticSearch; /// <summary> /// Abstraction over Copilot prompt text box UI. /// </summary> internal interface ITextBoxControl { Control Control { get; } string Text { get; set; } IOleCommandTarget CommandTarget { get; } IWpfTextView View { get; } } /// <summary> /// Abstraction over Copilot prompt UI. /// </summary> internal interface ISemanticSearchCopilotUIProvider { bool IsAvailable { get; } ITextBoxControl GetTextBox(); }