2 instantiations of SandboxEndpoint
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
1457var endpoint = new SandboxEndpoint(
Aspire.Hosting.Azure.Tests (1)
AzureSandboxesTests.cs (1)
836new AzureSandboxContainerDeployment.SandboxEndpoint(
17 references to SandboxEndpoint
Aspire.Hosting.Azure.Sandboxes (12)
AzureSandboxContainerDeployment.cs (8)
268var addedPorts = new List<SandboxEndpoint>(); 338foreach (var endpoint in endpoints) 919SandboxEndpoint endpoint) 1431internal static IReadOnlyList<SandboxEndpoint> ResolveSandboxEndpoints(AzureSandboxContainerResource resource) 1440var endpoints = new Dictionary<int, SandboxEndpoint>(); 1457var endpoint = new SandboxEndpoint( 1465if (endpoints.TryGetValue(targetPort, out var existingEndpoint)) 1928IReadOnlyList<SandboxEndpoint> endpoints,
AzureSandboxEndpointPropertyValueProvider.cs (4)
20private readonly AzureSandboxContainerDeployment.SandboxEndpoint _sandboxEndpoint; 151private static AzureSandboxContainerDeployment.SandboxEndpoint ResolveSandboxEndpoint(AzureSandboxContainerResource resource, EndpointReference endpointReference) 156AzureSandboxContainerDeployment.SandboxEndpoint? fallbackEndpoint = null; 158foreach (var endpoint in endpoints)
Aspire.Hosting.Azure.Tests (5)
AzureSandboxesTests.cs (5)
1858var endpoint = Assert.Single(AzureSandboxContainerDeployment.ResolveSandboxEndpoints(sandboxContainer)); 1990var endpoint = Assert.Single(AzureSandboxContainerDeployment.ResolveSandboxEndpoints(sandboxContainer)); 2206var sandboxEndpoint = Assert.Single(AzureSandboxContainerDeployment.ResolveSandboxEndpoints(sandboxContainer)); 2338var sandboxEndpoint = Assert.Single(AzureSandboxContainerDeployment.ResolveSandboxEndpoints(sandboxContainer)); 2363var sandboxEndpoint = Assert.Single(AzureSandboxContainerDeployment.ResolveSandboxEndpoints(sandboxContainer));