1 instantiation of EndpointReferenceExpression
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
124return new(this, property);
56 references to EndpointReferenceExpression
Aspire.Hosting (2)
ApplicationModel\EndpointReference.cs (2)
121/// <returns>An <see cref="EndpointReferenceExpression"/> representing the specified <see cref="EndpointProperty"/>.</returns> 122public EndpointReferenceExpression Property(EndpointProperty property)
Aspire.Hosting.Azure.AppContainers (1)
BaseContainerAppContext.cs (1)
275if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
189if (value is EndpointReferenceExpression epExpr)
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
48if (value is EndpointReferenceExpression epExpr)
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 (1)
KubernetesResource.cs (1)
419if (value is EndpointReferenceExpression epExpr)
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)
40public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 45public 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.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 (19)
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);
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);