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)
396var property = endpointReferenceExpression.Property;
BaseContainerAppContext.cs (2)
309if (epExpr.Property is EndpointProperty.Url or EndpointProperty.Host or EndpointProperty.IPV4Host or EndpointProperty.HostAndPort) 320var val = GetEndpointValue(mapping, epExpr.Property);
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceEnvironmentResource.cs (1)
523var property = endpointReferenceExpression.Property;
AzureAppServiceWebsiteContext.cs (1)
260var val = GetEndpointValue(mapping, epExpr.Property);
Aspire.Hosting.Azure.Sandboxes (6)
AzureSandboxContainerDeployment.cs (1)
1206endpointReferenceExpression.Property).ConfigureAwait(false);
AzureSandboxEndpointPropertyValueProvider.cs (5)
31if (endpointReferenceExpression.Property == EndpointProperty.TargetPort) 45$"{{{_resource.Name}.endpoints.{_endpointReferenceExpression.Endpoint.EndpointName}.{_endpointReferenceExpression.Property.ToString().ToLowerInvariant()}}}"; 85return _endpointReferenceExpression.Property switch 103return _endpointReferenceExpression.Property switch 112_ => 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)
403return endpointReferenceExpression.Property == EndpointProperty.TargetPort &&
Project\ProjectResource.cs (1)
233var property = endpointReferenceExpression.Property;
Aspire.Hosting.Kubernetes (2)
KubernetesResource.cs (2)
609var 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)
175var property = endpointReferenceExpression.Property;