/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Features/ExternalAccess/OmniSharp/Notification/IOmniSharpNotificationService.cs
31 строка
1 KB
Joey Robichaud
Expose NavigationService to OmniSharp
20 дек 2024, 20:00
20 дек 2024, 20:00
a48b428
Код
Авторство
О чём код?
// 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.ExternalAccess.OmniSharp.Notification; internal interface IOmniSharpNotificationService { /// <summary> /// Displays a message box with an OK button to the user. /// </summary> /// <param name="message">The message shown within the message box.</param> /// <param name="title">The title bar to be shown in the message box. May be ignored by some implementations.</param> /// <param name="severity">The severity of the message.</param> void SendNotification( string message, string? title = null, OmniSharpNotificationSeverity severity = OmniSharpNotificationSeverity.Warning); /// <summary> /// Displays a message box with a yes/no question to the user. /// </summary> /// <param name="message">The message shown within the message box.</param> /// <param name="title">The title bar to be shown in the message box. May be ignored by some implementations.</param> /// <param name="severity">The severity of the message.</param> /// <returns>true if yes was clicked, false otherwise.</returns> bool ConfirmMessageBox( string message, string? title = null, OmniSharpNotificationSeverity severity = OmniSharpNotificationSeverity.Warning); }