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