9 references to WithEnvironment
Aspire.Hosting.Azure.Tests (1)
AzureDeployerTests.cs (1)
833.WithEnvironment("DEPENDENT_VALUE", dependentParam);
Aspire.Hosting.Tests (7)
ResourceDependencyTests.cs (1)
51.WithEnvironment("API_PORT", api.GetEndpoint("http").Property(EndpointProperty.Port));
WithEnvironmentTests.cs (6)
373.WithEnvironment("TEST_VAR", testValue); 401.WithEnvironment("TEST_VAR", testValue); 427ResourceBuilderExtensions.WithEnvironment<ProjectResource, TestValueAndManifestProvider>(null!, "TEST_VAR", testValue)); 431projectA.WithEnvironment<ProjectResource, TestValueAndManifestProvider>(null!, testValue)); 435projectA.WithEnvironment("TEST_VAR", (TestValueAndManifestProvider)null!)); 454.WithEnvironment("ENDPOINT_PORT", portProperty);
Aspire.Hosting.Yarp (1)
YarpResourceExtensions.cs (1)
88.WithEnvironment("ASPNETCORE_HTTPS_PORT", resource.GetEndpoint("https").Property(EndpointProperty.Port))