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