Добавлен Studio

This commit is contained in:
2026-01-07 23:52:02 +03:00
parent ca5d912c9c
commit c3770c789b
19 changed files with 668 additions and 51 deletions

View File

@@ -0,0 +1,17 @@
using Lattice.Core.Models;
using Lattice.Core.Models.Enums;
namespace Lattice.Core.Abstractions;
/// <summary>
/// Описывает сервис для рассылки уведомлений внутри системы Lattice.
/// </summary>
public interface INotificationService
{
/// <summary>
/// Событие, возникающее при отправке нового сообщения.
/// </summary>
event EventHandler<NotificationEventArgs> NotificationReceived;
void Show(string message, NotificationSeverity severity = NotificationSeverity.Info, int durationSeconds = 5);
}