5 instantiations of AllocatedWorkloadPort
Aspire.Hosting.Native.Core (1)
Runtime\ResourceWorkload.cs (1)
50
port == 0 ? [] : [
new
("tcp", WorkloadProtocol.Tcp, "tcp", host, port)])
Aspire.Hosting.Native.Core.Tests (2)
TestServices\WorkloadTestExecutor.cs (2)
69
plan.Endpoints.Select((endpoint, index) => new
AllocatedWorkloadPort
(
99
template.Endpoints.Select((endpoint, index) => new
AllocatedWorkloadPort
(
Aspire.Hosting.Native.Server (2)
Dcp\DcpWorkloadExecutor.cs (2)
67
endpoints.Add(
new
(declaration.Name, declaration.Protocol, declaration.UriScheme, address, status.EffectivePort.Value));
203
endpoints.Add(
new
(declaration.Name, declaration.Protocol, declaration.UriScheme, address, status.EffectivePort.Value));
4 references to AllocatedWorkloadPort
Aspire.Hosting.Native.Core (2)
Runtime\ResourceWorkload.cs (1)
44
internal sealed record WorkloadEndpoint(string InstanceId, ImmutableArray<
AllocatedWorkloadPort
> Endpoints)
Runtime\RuntimeGeneration.cs (1)
359
var
endpoint = resource.Allocation.Endpoints.SingleOrDefault(endpoint => endpoint.Name == name)
Aspire.Hosting.Native.Server (2)
Dcp\DcpWorkloadExecutor.cs (2)
57
var endpoints = ImmutableArray.CreateBuilder<
AllocatedWorkloadPort
>();
193
var endpoints = ImmutableArray.CreateBuilder<
AllocatedWorkloadPort
>();