1 write to _resourceState
Aspire.Hosting (1)
Dcp\ResourceSnapshotBuilder.cs (1)
20_resourceState = resourceState;
8 references to _resourceState
Aspire.Hosting (8)
Dcp\ResourceSnapshotBuilder.cs (8)
43_resourceState.ApplicationModel.TryGetValue(container.AppModelResourceName, out var appModelResource)) 101_ = executable.AppModelResourceName is not null && _resourceState.ApplicationModel.TryGetValue(executable.AppModelResourceName, out appModelResource); 140_resourceState.ApplicationModel.TryGetValue(executable.AppModelResourceName, out appModelResource)) 288_resourceState.ApplicationModel.TryGetValue(resourceName, out var appModelResource) && 294var resourceServices = _resourceState.AppResources.OfType<ServiceWithModelResource>() 317var activeEndpoint = _resourceState.EndpointsMap.SingleOrDefault(e => 347var endpointOwnerEndpoint = _resourceState.AppResources.OfType<ServiceWithModelResource>() 352var isActive = _resourceState.EndpointsMap.Any(e => e.Value.Spec.ServiceName == endpointOwnerEndpoint?.Metadata.Name);