66 references to CreateBuilderFunc
Microsoft.AspNetCore.Tests (66)
WebApplicationTests.cs (66)
63yield return new[] { (CreateBuilderFunc)CreateBuilder }; 64yield return new[] { (CreateBuilderFunc)CreateSlimBuilder }; 65yield return new[] { (CreateBuilderFunc)CreateEmptyBuilder }; 73yield return new[] { (CreateBuilderFunc)CreateBuilder }; 74yield return new[] { (CreateBuilderFunc)CreateSlimBuilder }; 196public async Task WebApplicationRunAsync_UsesDefaultUrls(CreateBuilderFunc createBuilder) 215public async Task WebApplicationRunUrls_UpdatesIServerAddressesFeature(CreateBuilderFunc createBuilder) 234public async Task WebApplicationUrls_UpdatesIServerAddressesFeature(CreateBuilderFunc createBuilder) 254public async Task WebApplicationRunUrls_OverridesIServerAddressesFeature(CreateBuilderFunc createBuilder) 276public async Task WebApplicationUrls_ThrowsInvalidOperationExceptionIfThereIsNoIServerAddressesFeature(CreateBuilderFunc createBuilder) 287public async Task HostedServicesRunBeforeTheServerStarts(CreateBuilderFunc createBuilder) 349public async Task WebApplicationRunUrls_ThrowsInvalidOperationExceptionIfThereIsNoIServerAddressesFeature(CreateBuilderFunc createBuilder) 360public async Task WebApplicationRunUrls_ThrowsInvalidOperationExceptionIfServerAddressesFeatureIsReadOnly(CreateBuilderFunc createBuilder) 371public void WebApplicationBuilderHost_ThrowsWhenBuiltDirectly(CreateBuilderFunc createBuilder) 378public void WebApplicationBuilderWebHost_ThrowsWhenBuiltDirectly(CreateBuilderFunc createBuilder) 385public void WebApplicationBuilderWebHostSettingsThatAffectTheHostCannotBeModified(CreateBuilderFunc createBuilder) 405public void WebApplicationBuilderWebHostSettingsThatAffectTheHostCannotBeModifiedViaConfigureAppConfiguration(CreateBuilderFunc createBuilder) 648var createBuilder = (CreateBuilderFunc)data[0]; 673var createBuilder = (CreateBuilderFunc)data[0]; 1073public void WebApplicationBuilderHostBuilderSettingsThatAffectTheHostCannotBeModified(CreateBuilderFunc createBuilder) 1094public void WebApplicationBuilderWebHostUseSettingCanBeReadByConfiguration(CreateBuilderFunc createBuilder) 1115public async Task WebApplicationCanObserveConfigurationChangesMadeInBuild(CreateBuilderFunc createBuilder) 1174public async Task WebApplicationCanObserveSourcesClearedInBuild(CreateBuilderFunc createBuilder) 1261public async Task WebApplicationCanHandleStreamBackedConfigurationAddedInBuild(CreateBuilderFunc createBuilder) 1287public async Task WebApplicationDisposesConfigurationProvidersAddedInBuild(CreateBuilderFunc createBuilder) 1323public async Task WebApplicationMakesOriginalConfigurationProvidersAddedInBuildAccessable(CreateBuilderFunc createBuilder) 1340public void WebApplicationBuilderHostProperties_IsCaseSensitive(CreateBuilderFunc createBuilder) 1352public async Task WebApplicationConfiguration_HostFilterOptionsAreReloadable(CreateBuilderFunc createBuilder) 1383public void CanResolveIConfigurationBeforeBuildingApplication(CreateBuilderFunc createBuilder) 1399public void ManuallyAddingConfigurationAsServiceWorks(CreateBuilderFunc createBuilder) 1416public void AddingMemoryStreamBackedConfigurationWorks(CreateBuilderFunc createBuilder) 1438public async Task WebApplicationConfiguration_EnablesForwardedHeadersFromConfig(CreateBuilderFunc createBuilder) 1469public void WebApplication_CanResolveDefaultServicesFromServiceCollection(CreateBuilderFunc createBuilder) 1489public async Task WebApplication_CanResolveServicesAddedAfterBuildFromServiceCollection(CreateBuilderFunc createBuilder) 1518public async Task WebApplication_CanResolveIConfigurationFromServiceCollection(CreateBuilderFunc createBuilder) 1545public void WebApplication_CanResolveDefaultServicesFromServiceCollectionInCorrectOrder(CreateBuilderFunc createBuilder) 1573public async Task WebApplication_CanCallUseRoutingWithoutUseEndpoints(CreateBuilderFunc createBuilder) 1612public async Task WebApplication_CanCallUseEndpointsWithoutUseRoutingFails(CreateBuilderFunc createBuilder) 1642public void WebApplicationBuilder_CanClearDefaultLoggers(CreateBuilderFunc createBuilder) 1662public async Task WebApplicationBuilder_StartupFilterCanAddTerminalMiddleware(CreateBuilderFunc createBuilder) 1684public async Task StartupFilter_WithUseRoutingWorks(CreateBuilderFunc createBuilder) 1711public async Task CanAddMiddlewareBeforeUseRouting(CreateBuilderFunc createBuilder) 1749public async Task WebApplicationBuilder_OnlyAddsDefaultServicesOnce(CreateBuilderFunc createBuilder) 1812public async Task WebApplicationBuilder_ThrowsExceptionIfServicesAlreadyBuilt(CreateBuilderFunc createBuilder) 1827public void WebApplicationBuilder_ThrowsFromExtensionMethodsNotSupportedByHostAndWebHost(CreateBuilderFunc createBuilder) 1856public async Task EndpointDataSourceOnlyAddsOnce(CreateBuilderFunc createBuilder) 1883public async Task RoutesAddedToCorrectMatcher(CreateBuilderFunc createBuilder) 1919public async Task WebApplication_CallsUseRoutingAndUseEndpoints(CreateBuilderFunc createBuilder) 1946public async Task BranchingPipelineHasOwnRoutes(CreateBuilderFunc createBuilder) 2011public async Task PropertiesPreservedFromInnerApplication(CreateBuilderFunc createBuilder) 2180public void PropertiesArePropagated(CreateBuilderFunc createBuilder) 2212public void EmptyAppConfiguration(CreateBuilderFunc createBuilder) 2243public void HostConfigurationNotAffectedByConfiguration(CreateBuilderFunc createBuilder) 2303public void ConfigurationGetDebugViewWorks(CreateBuilderFunc createBuilder) 2320public void ConfigurationCanBeReloaded(CreateBuilderFunc createBuilder) 2337public void ConfigurationSourcesAreBuiltOnce(CreateBuilderFunc createBuilder) 2351public void ConfigurationProvidersAreLoadedOnceAfterBuild(CreateBuilderFunc createBuilder) 2365public void ConfigurationProvidersAreDisposedWithWebApplication(CreateBuilderFunc createBuilder) 2383public void ConfigurationProviderTypesArePreserved(CreateBuilderFunc createBuilder) 2396public async Task CanUseMiddleware(CreateBuilderFunc createBuilder) 2417public void CanObserveDefaultServicesInServiceCollection(CreateBuilderFunc createBuilder) 2431public async Task RegisterAuthMiddlewaresCorrectly(CreateBuilderFunc createBuilder) 2476public async Task SupportsDisablingMiddlewareAutoRegistration(CreateBuilderFunc createBuilder) 2514public void ImplementsIHostApplicationBuilderCorrectly(CreateBuilderFunc createBuilder)