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