1 instantiation of ResourceNotificationState
Aspire.Hosting (1)
ApplicationModel\ResourceNotificationService.cs (1)
816_resourceNotificationStates.GetOrAdd(resourceId, _ => new ResourceNotificationState(resource));
6 references to ResourceNotificationState
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (6)
24private readonly ConcurrentDictionary<string, ResourceNotificationState> _resourceNotificationStates = new(); 478if (_resourceNotificationStates.TryGetValue(resourceId, out var state)) 488KeyValuePair<string, ResourceNotificationState>? nameMatch = null; 582var notificationState = GetResourceNotificationState(resourceId, resource); 787private static CustomResourceSnapshot GetCurrentSnapshot(IResource resource, ResourceNotificationState notificationState) 815private ResourceNotificationState GetResourceNotificationState(string resourceId, IResource resource) =>