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