23 references to WithEnvironment
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
443builder.WithEnvironment(callback); 614/// The <see cref="EndpointReference"/> can be used to resolve the address of the endpoint in <see cref="WithEnvironment{T}(IResourceBuilder{T}, Action{EnvironmentCallbackContext})"/>.
Aspire.Hosting.AWS (1)
SDKResourceExtensions.cs (1)
59builder.WithEnvironment(context =>
Aspire.Hosting.Azure (2)
AzureBicepResourceExtensions.cs (2)
82return builder.WithEnvironment(ctx => 99return builder.WithEnvironment(ctx =>
Aspire.Hosting.Azure.Tests (2)
AzureContainerAppsTests.cs (2)
499project.WithEnvironment(context => 1112.WithEnvironment(context =>
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
89.WithEnvironment(context =>
Aspire.Hosting.Kafka (1)
KafkaBuilderExtensions.cs (1)
78.WithEnvironment(context => ConfigureKafkaContainer(context, kafka))
Aspire.Hosting.Milvus (1)
MilvusBuilderExtensions.cs (1)
65.WithEnvironment(ctx =>
Aspire.Hosting.MySql (1)
MySqlBuilderExtensions.cs (1)
57.WithEnvironment(context =>
Aspire.Hosting.Oracle (1)
OracleDatabaseBuilderExtensions.cs (1)
54.WithEnvironment(context =>
Aspire.Hosting.Orleans (1)
OrleansServiceExtensions.cs (1)
383builder.WithEnvironment(context =>
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
83.WithEnvironment(context =>
Aspire.Hosting.Qdrant (2)
QdrantBuilderExtensions.cs (2)
77.WithEnvironment(context => 133builder.WithEnvironment(context =>
Aspire.Hosting.RabbitMQ (2)
RabbitMQBuilderExtensions.cs (2)
67.WithEnvironment(context => 242builder.WithEnvironment(context =>
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
56.WithEnvironment(context =>
Aspire.Hosting.Tests (4)
ExpressionResolverTests.cs (1)
87.WithEnvironment(env =>
ResourceExtensionsTests.cs (1)
97.WithEnvironment(context =>
WithEnvironmentTests.cs (2)
20.WithEnvironment(context => 162.WithEnvironment(context =>