8 references to WithEnvironment
Aspire.Hosting.Azure.Tests (1)
AzureDeployerTests.cs (1)
826
.
WithEnvironment
("DEPENDENT_VALUE", dependentParam);
Aspire.Hosting.Tests (6)
WithEnvironmentTests.cs (6)
373
.
WithEnvironment
("TEST_VAR", testValue);
401
.
WithEnvironment
("TEST_VAR", testValue);
427
ResourceBuilderExtensions.
WithEnvironment
<ProjectResource, TestValueAndManifestProvider>(null!, "TEST_VAR", testValue));
431
projectA.
WithEnvironment
<ProjectResource, TestValueAndManifestProvider>(null!, testValue));
435
projectA.
WithEnvironment
("TEST_VAR", (TestValueAndManifestProvider)null!));
454
.
WithEnvironment
("ENDPOINT_PORT", portProperty);
Aspire.Hosting.Yarp (1)
YarpResourceExtensions.cs (1)
82
.
WithEnvironment
("ASPNETCORE_HTTPS_PORT", resource.GetEndpoint("https").Property(EndpointProperty.Port))