1 write to LastSnapshot
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
921
notificationState.
LastSnapshot
= newState;
6 references to LastSnapshot
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (6)
763
if (state.
LastSnapshot
is { } snapshot)
786
if (nameMatch is { } m && m.Value.
LastSnapshot
!= null)
788
resourceEvent = new ResourceEvent(m.Value.Resource, m.Key, m.Value.
LastSnapshot
);
822
if (state.Value.
LastSnapshot
is { } snapshot)
908
if (notificationState.
LastSnapshot
is { } lastSnapshot && lastSnapshot.ContentEquals(newState))
1277
var previousState = notificationState.
LastSnapshot
;