1 instantiation of EndpointReferenceExpression
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
162return new(this, property);
86 references to EndpointReferenceExpression
Aspire.Hosting (5)
ApplicationModel\EndpointReference.cs (2)
158/// <returns>An <see cref="EndpointReferenceExpression"/> representing the specified <see cref="EndpointProperty"/>.</returns> 160public EndpointReferenceExpression Property(EndpointProperty property)
ApplicationModel\IComputeEnvironmentResource.cs (2)
26/// Gets a <see cref="ReferenceExpression"/> representing a deployed endpoint property for the specified <see cref="EndpointReferenceExpression"/>. 40ReferenceExpression GetEndpointPropertyExpression(EndpointReferenceExpression endpointReferenceExpression)
ApplicationModel\ResourceExtensions.cs (1)
708EndpointReferenceExpression { Endpoint: var endpoint } => endpoint,
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
412public ReferenceExpression GetEndpointPropertyExpression(EndpointReferenceExpression endpointReferenceExpression)
BaseContainerAppContext.cs (1)
306if (value is EndpointReferenceExpression epExpr)
src\Shared\ComputeEnvironmentEndpointResolver.cs (1)
75EndpointReferenceExpression endpointReferenceExpression,
Aspire.Hosting.Azure.AppService (3)
AzureAppServiceEnvironmentResource.cs (1)
516public ReferenceExpression GetEndpointPropertyExpression(EndpointReferenceExpression endpointReferenceExpression)
AzureAppServiceWebsiteContext.cs (1)
257if (value is EndpointReferenceExpression epExpr)
src\Shared\ComputeEnvironmentEndpointResolver.cs (1)
75EndpointReferenceExpression endpointReferenceExpression,
Aspire.Hosting.Azure.EntraId (1)
src\Shared\ComputeEnvironmentEndpointResolver.cs (1)
75EndpointReferenceExpression endpointReferenceExpression,
Aspire.Hosting.Azure.FrontDoor (1)
src\Shared\ComputeEnvironmentEndpointResolver.cs (1)
75EndpointReferenceExpression endpointReferenceExpression,
Aspire.Hosting.Azure.Sandboxes (6)
AzureSandboxContainerDeployment.cs (2)
1197case EndpointReferenceExpression endpointReferenceExpression 1295internal static bool TryResolveEndpointReferenceValue(EndpointReferenceExpression endpointReferenceExpression, IComputeEnvironmentResource? currentComputeEnvironment, [NotNullWhen(true)] out ReferenceExpression? expression)
AzureSandboxEndpointPropertyValueProvider.cs (2)
16private readonly EndpointReferenceExpression _endpointReferenceExpression; 22EndpointReferenceExpression endpointReferenceExpression)
AzureSandboxGroupResource.cs (1)
299public ReferenceExpression GetEndpointPropertyExpression(EndpointReferenceExpression endpointReferenceExpression)
src\Shared\ComputeEnvironmentEndpointResolver.cs (1)
75EndpointReferenceExpression endpointReferenceExpression,
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
48if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Foundry (6)
HostedAgent\AzureHostedAgentResource.cs (4)
395EndpointReferenceExpression endpointReferenceExpression => IsHostedAgentTargetPortExpression(endpointReferenceExpression, hostedAgent), 405private static bool IsHostedAgentTargetPortExpression(EndpointReferenceExpression endpointReferenceExpression, AzureHostedAgentResource hostedAgent) 425case EndpointReferenceExpression endpointReferenceExpression: 487EndpointReferenceExpression endpointReferenceExpression,
Project\ProjectResource.cs (1)
229ReferenceExpression IComputeEnvironmentResource.GetEndpointPropertyExpression(EndpointReferenceExpression endpointReferenceExpression)
src\Shared\ComputeEnvironmentEndpointResolver.cs (1)
75EndpointReferenceExpression endpointReferenceExpression,
Aspire.Hosting.Garnet (2)
GarnetResource.cs (2)
35public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 40public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.JavaScript.Tests (1)
ResourceCreationTests.cs (1)
155arg => Assert.IsType<EndpointReferenceExpression>(arg)
Aspire.Hosting.Kafka (2)
KafkaServerResource.cs (2)
32public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 37public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Kubernetes (3)
KubernetesResource.cs (2)
589if (value is EndpointReferenceExpression epExpr) 874EndpointReferenceExpression => false,
src\Shared\ComputeEnvironmentEndpointResolver.cs (1)
75EndpointReferenceExpression endpointReferenceExpression,
Aspire.Hosting.Milvus (2)
MilvusServerResource.cs (2)
42public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 47public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.MongoDB (2)
MongoDBServerResource.cs (2)
44public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 49public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.MySql (2)
MySqlServerResource.cs (2)
39public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 44public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Nats (2)
NatsServerResource.cs (2)
39public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 44public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Oracle (2)
OracleDatabaseServerResource.cs (2)
36public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 41public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.PostgreSQL (2)
PostgresServerResource.cs (2)
109public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 114public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Qdrant (4)
QdrantServerResource.cs (4)
42public EndpointReferenceExpression GrpcHost => PrimaryEndpoint.Property(EndpointProperty.Host); 47public EndpointReferenceExpression GrpcPort => PrimaryEndpoint.Property(EndpointProperty.Port); 57public EndpointReferenceExpression HttpHost => HttpEndpoint.Property(EndpointProperty.Host); 62public EndpointReferenceExpression HttpPort => HttpEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.RabbitMQ (2)
RabbitMQServerResource.cs (2)
45public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 50public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Radius (5)
Publishing\RadiusInfrastructureBuilder.cs (4)
4150case EndpointReferenceExpression endpointReferenceExpression: 4361if (expression.Condition is EndpointReference or EndpointReferenceExpression) 4532case EndpointReferenceExpression: 4871private string ResolveEndpointProperty(EndpointReferenceExpression endpointReferenceExpression) =>
RadiusEnvironmentResource.cs (1)
169ReferenceExpression IComputeEnvironmentResource.GetEndpointPropertyExpression(EndpointReferenceExpression endpointReferenceExpression)
Aspire.Hosting.Radius.Tests (1)
Publishing\BackingResourceValueResolutionTests.cs (1)
1190var port = cache.GetEndpoint("tcp").Property(EndpointProperty.Port);
Aspire.Hosting.Redis (2)
RedisResource.cs (2)
54public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 59public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Seq (2)
SeqResource.cs (2)
25public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 30public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.SqlServer (2)
SqlServerServerResource.cs (2)
36public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 41public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Tests (20)
ConditionalReferenceExpressionTests.cs (5)
81var condition = endpointRef.Property(EndpointProperty.TlsEnabled); 130var tlsExpr = endpointRef.Property(EndpointProperty.TlsEnabled); 147var tlsExpr = endpointRef.Property(EndpointProperty.TlsEnabled); 161var tlsExpr = endpointRef.Property(EndpointProperty.TlsEnabled); 174var tlsExpr = endpointRef.Property(EndpointProperty.TlsEnabled);
EndpointReferenceTests.cs (13)
38var endpointExpr = endpointRef.Property(EndpointProperty.Url); 58var endpointExpr = endpointRef.Property(EndpointProperty.Url); 72var hostExpr = endpointRef.Property(EndpointProperty.Host); 91var portExpr = endpointRef.Property(EndpointProperty.Port); 110var schemeExpr = endpointRef.Property(EndpointProperty.Scheme); 124var ipv4Expr = endpointRef.Property(EndpointProperty.IPV4Host); 138var targetPortExpr = endpointRef.Property(EndpointProperty.TargetPort); 152var targetPortExpr = endpointRef.Property(EndpointProperty.TargetPort); 171var endpointExpr = endpointRef.Property(EndpointProperty.Url); 189var expr1 = endpointRef.Property(EndpointProperty.Url); 190var expr2 = endpointRef.Property(EndpointProperty.Host); 191var expr3 = endpointRef.Property(EndpointProperty.Port); 352var expression = destination.GetEndpoint(annotation.Name).Property(property);
src\Shared\ComputeEnvironmentEndpointResolver.cs (1)
75EndpointReferenceExpression endpointReferenceExpression,
WithEnvironmentTests.cs (1)
452var portProperty = endpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Valkey (2)
ValkeyResource.cs (2)
40public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 45public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);