1 instantiation of ResourceNotificationState
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
503_resourceNotificationStates.GetOrAdd((resource, resourceId), _ => new ResourceNotificationState());
4 references to ResourceNotificationState
Aspire.Hosting (4)
ApplicationModel\ResourceNotificationService.cs (4)
20private readonly ConcurrentDictionary<(IResource, string), ResourceNotificationState> _resourceNotificationStates = new(); 346var notificationState = GetResourceNotificationState(resource, resourceId); 479private static CustomResourceSnapshot GetCurrentSnapshot(IResource resource, ResourceNotificationState notificationState) 502private ResourceNotificationState GetResourceNotificationState(IResource resource, string resourceId) =>