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