1 implementation of INotificationService
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
9internal sealed class NotificationService(TimeProvider timeProvider) : INotificationService
10 references to INotificationService
Aspire.Dashboard (5)
Components\Dialogs\NotificationsDialog.razor.cs (1)
15public required INotificationService NotificationService { get; init; }
Components\Layout\NotificationsHeaderButton.razor.cs (1)
16public required INotificationService NotificationService { get; init; }
DashboardWebApplication.cs (1)
282builder.Services.TryAddSingleton<INotificationService, NotificationService>();
Model\DashboardCommandExecutor.cs (1)
23INotificationService notificationService)
Model\NotificationService.cs (1)
7/// Thread-safe singleton implementation of <see cref="INotificationService"/>.
Aspire.Dashboard.Components.Tests (1)
Shared\FluentUISetupHelpers.cs (1)
174context.Services.AddSingleton<INotificationService, NotificationService>();
Aspire.Dashboard.Tests (4)
Model\DashboardCommandExecutorTests.cs (4)
35var executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService); 82var executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService); 123var executor = CreateExecutor(dashboardClient, out var notificationService, out var toastService); 146private static DashboardCommandExecutor CreateExecutor(TestDashboardClient dashboardClient, out INotificationService notificationService, out ToastService toastService)