9 references to WithEnvironment
Aspire.Hosting.Azure.Tests (1)
AzureDeployerTests.cs (1)
835.WithEnvironment("DEPENDENT_VALUE", dependentParam);
Aspire.Hosting.Tests (7)
ResourceDependencyTests.cs (1)
51.WithEnvironment("API_PORT", api.GetEndpoint("http").Property(EndpointProperty.Port));
WithEnvironmentTests.cs (6)
378.WithEnvironment("TEST_VAR", testValue); 406.WithEnvironment("TEST_VAR", testValue); 432ResourceBuilderExtensions.WithEnvironment<ProjectResource, TestValueAndManifestProvider>(null!, "TEST_VAR", testValue)); 436projectA.WithEnvironment<ProjectResource, TestValueAndManifestProvider>(null!, testValue)); 440projectA.WithEnvironment("TEST_VAR", (TestValueAndManifestProvider)null!)); 459.WithEnvironment("ENDPOINT_PORT", portProperty);
Aspire.Hosting.Yarp (1)
YarpResourceExtensions.cs (1)
88.WithEnvironment("ASPNETCORE_HTTPS_PORT", resource.GetEndpoint("https").Property(EndpointProperty.Port))