1 instantiation of EndpointReferenceExpression
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
116return new(this, property);
51 references to EndpointReferenceExpression
Aspire.Hosting (2)
ApplicationModel\EndpointReference.cs (2)
113/// <returns>An <see cref="EndpointReferenceExpression"/> representing the specified <see cref="EndpointProperty"/>.</returns> 114public EndpointReferenceExpression Property(EndpointProperty property)
Aspire.Hosting.Azure.AppContainers (1)
BaseContainerAppContext.cs (1)
274if (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)
34public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 39public 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)
31public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 36public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port);
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
417if (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.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)
109public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 114public 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)
43public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 48public 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 (14)
EndpointReferenceTests.cs (13)
37var endpointExpr = endpointRef.Property(EndpointProperty.Url); 57var endpointExpr = endpointRef.Property(EndpointProperty.Url); 71var hostExpr = endpointRef.Property(EndpointProperty.Host); 90var portExpr = endpointRef.Property(EndpointProperty.Port); 109var schemeExpr = endpointRef.Property(EndpointProperty.Scheme); 123var ipv4Expr = endpointRef.Property(EndpointProperty.IPV4Host); 137var targetPortExpr = endpointRef.Property(EndpointProperty.TargetPort); 151var targetPortExpr = endpointRef.Property(EndpointProperty.TargetPort); 170var endpointExpr = endpointRef.Property(EndpointProperty.Url); 188var expr1 = endpointRef.Property(EndpointProperty.Url); 189var expr2 = endpointRef.Property(EndpointProperty.Host); 190var expr3 = endpointRef.Property(EndpointProperty.Port); 351var expression = destination.GetEndpoint(annotation.Name).Property(property);
WithEnvironmentTests.cs (1)
451var 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);