23 references to Property
Aspire.Hosting (5)
ApplicationModel\EndpointReference.cs (4)
337Endpoint.GetExpression(Property); 363return Property switch 376return Property switch 384_ => throw new InvalidOperationException($"The property '{Property}' is not supported for the endpoint '{Endpoint.EndpointName}'.")
ApplicationModel\IComputeEnvironmentResource.cs (1)
45var property = endpointReferenceExpression.Property;
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
417var property = endpointReferenceExpression.Property;
BaseContainerAppContext.cs (2)
316if (epExpr.Property is EndpointProperty.Url or EndpointProperty.Host or EndpointProperty.IPV4Host or EndpointProperty.HostAndPort) 327var val = GetEndpointValue(mapping, epExpr.Property);
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceEnvironmentResource.cs (1)
521var property = endpointReferenceExpression.Property;
AzureAppServiceWebsiteContext.cs (1)
267var val = GetEndpointValue(mapping, epExpr.Property);
Aspire.Hosting.Azure.Sandboxes (6)
AzureSandboxContainerDeployment.cs (1)
1203endpointReferenceExpression.Property).ConfigureAwait(false);
AzureSandboxEndpointPropertyValueProvider.cs (5)
29if (endpointReferenceExpression.Property == EndpointProperty.TargetPort) 43$"{{{_resource.Name}.endpoints.{_endpointReferenceExpression.Endpoint.EndpointName}.{_endpointReferenceExpression.Property.ToString().ToLowerInvariant()}}}"; 83return _endpointReferenceExpression.Property switch 101return _endpointReferenceExpression.Property switch 110_ => throw new InvalidOperationException($"The property '{_endpointReferenceExpression.Property}' is not supported for the endpoint '{_endpointReferenceExpression.Endpoint.EndpointName}'.")
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
54var val = GetValue(mapping, epExpr.Property);
Aspire.Hosting.Foundry (2)
HostedAgent\AzureHostedAgentResource.cs (1)
407return endpointReferenceExpression.Property == EndpointProperty.TargetPort &&
Project\ProjectResource.cs (1)
233var property = endpointReferenceExpression.Property;
Aspire.Hosting.Kubernetes (2)
KubernetesResource.cs (2)
604var val = GetEndpointValue(mapping, epExpr.Property, embedded && epExpr.Property is EndpointProperty.Port or EndpointProperty.TargetPort);
Aspire.Hosting.Radius (2)
Publishing\RadiusInfrastructureBuilder.cs (1)
4154endpointReferenceExpression.Property,
RadiusEnvironmentResource.cs (1)
174var property = endpointReferenceExpression.Property;