1 implementation of OnChange
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
28public event Action? OnChange;
11 references to OnChange
Aspire.Dashboard (11)
Components\Dialogs\NotificationsDialog.razor.cs (2)
23NotificationService.OnChange += HandleNotificationsChanged; 48NotificationService.OnChange -= HandleNotificationsChanged;
Components\Layout\MainLayout.razor.cs (2)
135NotificationService.OnChange += HandleNotificationsChanged; 549NotificationService.OnChange -= HandleNotificationsChanged;
Components\Layout\NotificationsHeaderButton.razor.cs (2)
25NotificationService.OnChange += HandleNotificationsChanged; 42NotificationService.OnChange -= HandleNotificationsChanged;
Model\INotificationService.cs (5)
26/// Adds a notification and raises <see cref="OnChange"/>. 32/// Replaces an existing notification (matched by <paramref name="id"/>) and raises <see cref="OnChange"/>. 37/// Removes a notification by ID and raises <see cref="OnChange"/>. 42/// Removes all notifications and raises <see cref="OnChange"/>. 47/// Resets the unread count to zero and raises <see cref="OnChange"/>.