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