1 write to LastSnapshot
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
884
notificationState.
LastSnapshot
= newState;
6 references to LastSnapshot
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (6)
724
if (state.
LastSnapshot
is { } snapshot)
747
if (nameMatch is { } m && m.Value.
LastSnapshot
!= null)
749
resourceEvent = new ResourceEvent(m.Value.Resource, m.Key, m.Value.
LastSnapshot
);
783
if (state.Value.
LastSnapshot
is { } snapshot)
871
if (notificationState.
LastSnapshot
is { } lastSnapshot && lastSnapshot.ContentEquals(newState))
1240
var previousState = notificationState.
LastSnapshot
;