1 instantiation of ResourceNotificationState
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
830_resourceNotificationStates.GetOrAdd(resourceId, _ => new ResourceNotificationState(resource));
6 references to ResourceNotificationState
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (6)
25private readonly ConcurrentDictionary<string, ResourceNotificationState> _resourceNotificationStates = new(); 486if (_resourceNotificationStates.TryGetValue(resourceId, out var state)) 496KeyValuePair<string, ResourceNotificationState>? nameMatch = null; 590var notificationState = GetResourceNotificationState(resourceId, resource); 801private static CustomResourceSnapshot GetCurrentSnapshot(IResource resource, ResourceNotificationState notificationState) 829private ResourceNotificationState GetResourceNotificationState(string resourceId, IResource resource) =>