1 instantiation of ResourceNotificationState
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
823_resourceNotificationStates.GetOrAdd(resourceId, _ => new ResourceNotificationState(resource));
6 references to ResourceNotificationState
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (6)
24private readonly ConcurrentDictionary<string, ResourceNotificationState> _resourceNotificationStates = new(); 485if (_resourceNotificationStates.TryGetValue(resourceId, out var state)) 495KeyValuePair<string, ResourceNotificationState>? nameMatch = null; 589var notificationState = GetResourceNotificationState(resourceId, resource); 794private static CustomResourceSnapshot GetCurrentSnapshot(IResource resource, ResourceNotificationState notificationState) 822private ResourceNotificationState GetResourceNotificationState(string resourceId, IResource resource) =>