1 implementation of OnChange
Aspire.Dashboard (1)
Model\NotificationService.cs (1)
28public event Action? OnChange;
9 references to OnChange
Aspire.Dashboard (9)
Components\Dialogs\NotificationsDialog.razor.cs (2)
23NotificationService.OnChange += HandleNotificationsChanged; 48NotificationService.OnChange -= HandleNotificationsChanged;
Components\Layout\NotificationsHeaderButton.razor.cs (2)
23NotificationService.OnChange += HandleNotificationsChanged; 40NotificationService.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"/>.