using System.Threading.Tasks; using Avalonia; using Avalonia.Controls.Notifications; using StabilityMatrix.Avalonia.Services; using StabilityMatrix.Core.Models; namespace StabilityMatrix.Avalonia.DesignData; public class MockNotificationService : INotificationService { public void Initialize(Visual? visual, NotificationPosition position = NotificationPosition.BottomRight, int maxItems = 3) { } public void Show(INotification notification) { } public Task> TryAsync(Task task, string title = "Error", string? message = null, NotificationType appearance = NotificationType.Error) { return Task.FromResult(new TaskResult(default!)); } public Task> TryAsync(Task task, string title = "Error", string? message = null, NotificationType appearance = NotificationType.Error) { return Task.FromResult(new TaskResult(true)); } }