40 references to Property
Aspire.Hosting (9)
ApplicationModel\EndpointReference.cs (5)
372Endpoint.GetExpression(Property); 398return Property switch 432return Property == EndpointProperty.PrimaryBrowserOrigin 441return Property switch 449_ => throw new InvalidOperationException($"The property '{Property}' is not supported for the endpoint '{Endpoint.EndpointName}'.")
ApplicationModel\IComputeEnvironmentResource.cs (1)
46var property = endpointReferenceExpression.Property;
Publishing\ManifestPublishingContext.cs (3)
809EndpointReferenceExpression endpoint when endpoint.Property is 877else if (source is EndpointReferenceExpression { Property: EndpointProperty.TlsEnabled } endpointProperty) 1295endpoint.Endpoint.Resource.Name, endpoint.Endpoint.EndpointAnnotation.Name, endpoint.Property.ToString(),
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
431var property = endpointReferenceExpression.Property;
BaseContainerAppContext.cs (2)
203return reference.Property switch 322if (epExpr.Property is EndpointProperty.Url or EndpointProperty.Host or EndpointProperty.IPV4Host or EndpointProperty.HostAndPort or
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceEnvironmentResource.cs (1)
563var property = endpointReferenceExpression.Property;
AzureAppServiceWebsiteContext.cs (1)
267var val = GetEndpointValue(mapping, epExpr.Property);
Aspire.Hosting.Azure.EntraId.Tests (2)
EntraIdProvisioningTests.cs (2)
1565if (endpointReferenceExpression.Property is EndpointProperty.TlsEnabled) 1570Assert.Equal(EndpointProperty.PrimaryBrowserOrigin, endpointReferenceExpression.Property);
Aspire.Hosting.Azure.Sandboxes (6)
AzureSandboxContainerDeployment.cs (1)
1203endpointReferenceExpression.Property).ConfigureAwait(false);
AzureSandboxEndpointPropertyValueProvider.cs (5)
30if (endpointReferenceExpression.Property == EndpointProperty.TargetPort) 44$"{{{_resource.Name}.endpoints.{_endpointReferenceExpression.Endpoint.EndpointName}.{_endpointReferenceExpression.Property.ToString().ToLowerInvariant()}}}"; 84return _endpointReferenceExpression.Property switch 102return _endpointReferenceExpression.Property switch 113_ => throw new InvalidOperationException($"The property '{_endpointReferenceExpression.Property}' is not supported for the endpoint '{_endpointReferenceExpression.Endpoint.EndpointName}'.")
Aspire.Hosting.Docker (4)
DockerComposeServiceResourceExtensions.cs (3)
53if (epExpr.Property == EndpointProperty.TlsEnabled) 62return epExpr.Property switch 66_ => GetValue(mapping, epExpr.Property)
src\Shared\EndpointPropertyInputCache.cs (1)
34reference.Endpoint.Resource.Name, reference.Endpoint.EndpointAnnotation.Name, reference.Property.ToString(), 64);
Aspire.Hosting.Foundry (2)
HostedAgent\AzureHostedAgentResource.cs (1)
407return endpointReferenceExpression.Property == EndpointProperty.TargetPort &&
Project\ProjectResource.cs (1)
233var property = endpointReferenceExpression.Property;
Aspire.Hosting.Kubernetes (6)
KubernetesEnvironmentContext.cs (1)
60return reference.Property == EndpointProperty.PrimaryBrowserOrigin
KubernetesResource.cs (4)
599if (epExpr.Property == EndpointProperty.TlsEnabled) 610return epExpr.Property switch 614_ => GetEndpointValue(mapping, epExpr.Property, embedded && epExpr.Property is EndpointProperty.Port or EndpointProperty.TargetPort)
src\Shared\EndpointPropertyInputCache.cs (1)
34reference.Endpoint.Resource.Name, reference.Endpoint.EndpointAnnotation.Name, reference.Property.ToString(), 64);
Aspire.Hosting.Radius (4)
Publishing\RadiusInfrastructureBuilder.cs (2)
4154case EndpointReferenceExpression endpointReferenceExpression when endpointReferenceExpression.Property is 4175endpointReferenceExpression.Property,
RadiusEnvironmentResource.cs (1)
174var property = endpointReferenceExpression.Property;
src\Shared\EndpointPropertyInputCache.cs (1)
34reference.Endpoint.Resource.Name, reference.Endpoint.EndpointAnnotation.Name, reference.Property.ToString(), 64);
Aspire.Hosting.Tests (2)
EndpointReferenceTests.cs (2)
510Assert.Equal(EndpointProperty.BrowserOrigins, origins.Property); 511Assert.Equal(EndpointProperty.PrimaryBrowserOrigin, endpoint.PrimaryBrowserOrigin.Property);