1 instantiation of EndpointReferenceExpression
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
86return new(this, property);
21 references to EndpointReferenceExpression
Aspire.Hosting (3)
ApplicationModel\EndpointReference.cs (2)
83/// <returns>An <see cref="EndpointReferenceExpression"/> representing the specified <see cref="EndpointProperty"/>.</returns> 84public EndpointReferenceExpression Property(EndpointProperty property)
ApplicationModel\ExpressionResolver.cs (1)
136EndpointReferenceExpression ep when sourceIsContainer => new ResolvedValue(await EvalEndpointAsync(ep.Endpoint, ep.Property).ConfigureAwait(false), false),
Aspire.Hosting.Azure (1)
AzureResourcePreparer.cs (1)
410if (value is string or EndpointReference or ParameterResource or EndpointReferenceExpression or HostUrl)
Aspire.Hosting.Azure.AppContainers (1)
BaseContainerAppContext.cs (1)
266if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
154if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
48if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
396if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Tests (13)
EndpointReferenceTests.cs (12)
36var endpointExpr = endpointRef.Property(EndpointProperty.Url); 56var endpointExpr = endpointRef.Property(EndpointProperty.Url); 70var hostExpr = endpointRef.Property(EndpointProperty.Host); 89var portExpr = endpointRef.Property(EndpointProperty.Port); 108var schemeExpr = endpointRef.Property(EndpointProperty.Scheme); 122var ipv4Expr = endpointRef.Property(EndpointProperty.IPV4Host); 136var targetPortExpr = endpointRef.Property(EndpointProperty.TargetPort); 150var targetPortExpr = endpointRef.Property(EndpointProperty.TargetPort); 169var endpointExpr = endpointRef.Property(EndpointProperty.Url); 187var expr1 = endpointRef.Property(EndpointProperty.Url); 188var expr2 = endpointRef.Property(EndpointProperty.Host); 189var expr3 = endpointRef.Property(EndpointProperty.Port);
WithEnvironmentTests.cs (1)
441var portProperty = endpoint.Property(EndpointProperty.Port);