1 write to _resourceState
Aspire.Hosting (1)
Dcp\ResourceSnapshotBuilder.cs (1)
17
_resourceState
= resourceState;
8 references to _resourceState
Aspire.Hosting (8)
Dcp\ResourceSnapshotBuilder.cs (8)
39
_resourceState
.ApplicationModel.TryGetValue(container.AppModelResourceName, out var appModelResource))
97
_ = executable.AppModelResourceName is not null &&
_resourceState
.ApplicationModel.TryGetValue(executable.AppModelResourceName, out appModelResource);
135
_resourceState
.ApplicationModel.TryGetValue(executable.AppModelResourceName, out appModelResource))
237
_resourceState
.ApplicationModel.TryGetValue(resourceName, out var appModelResource) &&
243
var resourceServices =
_resourceState
.AppResources.OfType<ServiceWithModelResource>()
266
var activeEndpoint =
_resourceState
.EndpointsMap.SingleOrDefault(e =>
294
var endpointOwnerEndpoint =
_resourceState
.AppResources.OfType<ServiceWithModelResource>()
299
var isActive =
_resourceState
.EndpointsMap.Any(e => e.Value.Spec.ServiceName == endpointOwnerEndpoint?.Metadata.Name);