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)
20
private readonly ConcurrentDictionary<(IResource, string),
ResourceNotificationState
> _resourceNotificationStates = new();
346
var
notificationState = GetResourceNotificationState(resource, resourceId);
479
private static CustomResourceSnapshot GetCurrentSnapshot(IResource resource,
ResourceNotificationState
notificationState)
502
private
ResourceNotificationState
GetResourceNotificationState(IResource resource, string resourceId) =>