12 references to _notifications
Aspire.Dashboard (12)
Model\NotificationService.cs (12)
35
var result = new NotificationMessage[
_notifications
.Count];
36
for (var i = 0; i <
_notifications
.Count; i++)
38
var item =
_notifications
[
_notifications
.Count - 1 - i];
52
_notifications
.Add((id, notification));
56
while (
_notifications
.Count > MaxNotifications)
58
_notifications
.RemoveAt(0);
71
for (var i = 0; i <
_notifications
.Count; i++)
73
if (
_notifications
[i].Id == id)
75
_notifications
[i] = (id, notification);
88
_notifications
.RemoveAll(n => n.Id == id);
98
_notifications
.Clear();