1 instantiation of EndpointReferenceExpression
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
86return new(this, property);
52 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)
144EndpointReferenceExpression 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)
274if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
173if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
48if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Garnet (2)
GarnetResource.cs (2)
34public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 39public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Kafka (2)
KafkaServerResource.cs (2)
31public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 36public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
396if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Milvus (2)
MilvusServerResource.cs (2)
41public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 46public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.MongoDB (2)
MongoDBServerResource.cs (2)
39public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 44public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.MySql (2)
MySqlServerResource.cs (2)
38public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 43public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Nats (2)
NatsServerResource.cs (2)
38public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 43public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.NodeJs.Tests (1)
ResourceCreationTests.cs (1)
154arg => Assert.IsType<EndpointReferenceExpression>(arg)
Aspire.Hosting.Oracle (2)
OracleDatabaseServerResource.cs (2)
35public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 40public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.PostgreSQL (2)
PostgresServerResource.cs (2)
108public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 113public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Qdrant (4)
QdrantServerResource.cs (4)
41public EndpointReferenceExpression GrpcHost => PrimaryEndpoint.Property(EndpointProperty.Host); 46public EndpointReferenceExpression GrpcPort => PrimaryEndpoint.Property(EndpointProperty.Port); 56public EndpointReferenceExpression HttpHost => HttpEndpoint.Property(EndpointProperty.Host); 61public EndpointReferenceExpression HttpPort => HttpEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.RabbitMQ (2)
RabbitMQServerResource.cs (2)
44public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 49public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Redis (2)
RedisResource.cs (2)
37public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 42public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Seq (2)
SeqResource.cs (2)
24public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 29public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.SqlServer (2)
SqlServerServerResource.cs (2)
35public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 40public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
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);
Aspire.Hosting.Valkey (2)
ValkeyResource.cs (2)
39public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 44public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);