1 write to LastSnapshot
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
942
notificationState.
LastSnapshot
= newState;
6 references to LastSnapshot
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (6)
784
if (state.
LastSnapshot
is { } snapshot)
807
if (nameMatch is { } m && m.Value.
LastSnapshot
!= null)
809
resourceEvent = new ResourceEvent(m.Value.Resource, m.Key, m.Value.
LastSnapshot
);
843
if (state.Value.
LastSnapshot
is { } snapshot)
929
if (notificationState.
LastSnapshot
is { } lastSnapshot && lastSnapshot.ContentEquals(newState))
1298
var previousState = notificationState.
LastSnapshot
;