3 instantiations of HostResourceWithEndpoints
Aspire.Hosting (3)
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))
16 references to HostResourceWithEndpoints
Aspire.Hosting (16)
Dcp\ContainerCreator.cs (7)
324internal async Task<IEnumerable<HostResourceWithEndpoints>> GetHostDependenciesAsync(IResource resource, CancellationToken cancellationToken) 337List<HostResourceWithEndpoints> hostDependencies = [.. allDependencies.Select(HostResourceWithEndpoints.Create).OfType<HostResourceWithEndpoints>()]; 342&& HostResourceWithEndpoints.Create(dashboardResource) is HostResourceWithEndpoints dashboard) 351internal 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)
729var hostResources = _model.Resources.Select(HostResourceWithEndpoints.Create).OfType<HostResourceWithEndpoints>().ToList(); 731foreach (var re in hostResources)