3 references to UseEnvironment
Microsoft.AspNetCore.Mvc.Testing (2)
WebApplicationFactory.cs (2)
160deferredHostBuilder.UseEnvironment(Environments.Development); 396hostBuilder?.UseEnvironment(Environments.Development);
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
1088Assert.Throws<NotSupportedException>(() => builder.Host.UseEnvironment(envName));