4 instantiations of HostResourceWithEndpoints
Aspire.Hosting (4)
Dcp\ContainerCreator.cs (1)
361hostDependencies.Add(new HostResourceWithEndpoints(dashboard.Resource, endpoints));
Dcp\ContainerNetworkEndpointProvisioner.cs (2)
32return new HostResourceWithEndpoints(resourceWithEndpoints, endpoints); 286.Select(pair => new HostResourceWithEndpoints(pair.Key, pair.Value))
Dcp\ExecutableCreator.cs (1)
176.Select(pair => new HostResourceWithEndpoints(pair.Key, pair.Value))
18 references to HostResourceWithEndpoints
Aspire.Hosting (18)
Dcp\ContainerCreator.cs (9)
323internal async Task<IEnumerable<HostResourceWithEndpoints>> GetHostDependenciesAsync(IResource resource, CancellationToken cancellationToken) 336List<HostResourceWithEndpoints> hostDependencies = [.. allDependencies.Select(HostResourceWithEndpoints.Create).OfType<HostResourceWithEndpoints>()]; 341&& HostResourceWithEndpoints.Create(dashboardResource) is HostResourceWithEndpoints dashboard) 355var dashboard = hostDependencies[dashboardIndex]; 371HostResourceWithEndpoints dashboard, 401internal async Task CreateHostDependentContainerAsync(RenderedModelResource<Container> cr, ImmutableArray<HostResourceWithEndpoints> hostDependencies, ContainerNetworkEndpointContext context, IDcpObjectFactory factory, CancellationToken cToken)
Dcp\ContainerNetworkEndpointProvisioner.cs (6)
25internal static HostResourceWithEndpoints? Create(IResource resource) 167internal IEnumerable<ContainerNetworkService> CreateContainerNetworkServices(HostResourceWithEndpoints hostResource) 226ImmutableArray<HostResourceWithEndpoints> hostResources, 245foreach (var hostResource in hostResources) 302ImmutableArray<HostResourceWithEndpoints> hostResources, 337ImmutableArray<HostResourceWithEndpoints> hostResources,
Dcp\DcpExecutor.cs (3)
749var hostResources = _model.Resources.Select(HostResourceWithEndpoints.Create).OfType<HostResourceWithEndpoints>().ToList(); 751foreach (var re in hostResources)