33 references to CreateBuilderOptionsFunc
Microsoft.AspNetCore.Tests (33)
WebApplicationTests.cs (33)
123yield return new[] { (CreateBuilderOptionsFunc)CreateBuilderOptions };
124yield return new[] { (CreateBuilderOptionsFunc)CreateSlimBuilderOptions };
125yield return new[] { (CreateBuilderOptionsFunc)CreateEmptyBuilderOptions };
133yield return new[] { (CreateBuilderOptionsFunc)CreateBuilderOptions };
134yield return new[] { (CreateBuilderOptionsFunc)CreateSlimBuilderOptions };
464public void SettingContentRootToSameCanonicalValueWorks(CreateBuilderOptionsFunc createBuilder)
489yield return new object[] { webRoot, (CreateBuilderOptionsFunc)CreateBuilderOptions };
490yield return new object[] { webRoot, (CreateBuilderOptionsFunc)CreateSlimBuilderOptions };
491yield return new object[] { webRoot, (CreateBuilderOptionsFunc)CreateEmptyBuilderOptions };
498public void WebApplicationBuilder_CanHandleVariousWebRootPaths(string webRoot, CreateBuilderOptionsFunc createBuilder)
527public void WebApplicationBuilder_CanOverrideWithFullWebRootPaths(CreateBuilderOptionsFunc createBuilder)
560yield return new object[] { webRoot, (CreateBuilderOptionsFunc)CreateBuilderOptions };
561yield return new object[] { webRoot, (CreateBuilderOptionsFunc)CreateSlimBuilderOptions };
562yield return new object[] { webRoot, (CreateBuilderOptionsFunc)CreateEmptyBuilderOptions };
569public void WebApplicationBuilder_CanHandleVariousWebRootPaths_OverrideDefaultPath(string webRoot, CreateBuilderOptionsFunc createBuilder)
603yield return new object[] { path, (CreateBuilderOptionsFunc)CreateBuilderOptions };
604yield return new object[] { path, (CreateBuilderOptionsFunc)CreateSlimBuilderOptions };
605yield return new object[] { path, (CreateBuilderOptionsFunc)CreateEmptyBuilderOptions };
612public void SettingContentRootToRelativePathUsesAppContextBaseDirectoryAsPathBase(string path, CreateBuilderOptionsFunc createBuilder)
686yield return new object[] { (CreateBuilderOptionsFunc)CreateBuilderOptions, true };
687yield return new object[] { (CreateBuilderOptionsFunc)CreateBuilderOptions, false };
688yield return new object[] { (CreateBuilderOptionsFunc)CreateSlimBuilderOptions, true };
689yield return new object[] { (CreateBuilderOptionsFunc)CreateSlimBuilderOptions, false };
695public void WebApplicationBuilderEnablesAppSettingsConfiguration(CreateBuilderOptionsFunc createBuilder, bool isDevelopment)
735public void WebApplicationBuilderSettingInvalidApplicationDoesNotThrowWhenAssemblyLoadForUserSecretsFail(CreateBuilderOptionsFunc createBuilder)
752public void WebApplicationBuilderEnablesUserSecretsInDevelopment(CreateBuilderOptionsFunc createBuilder)
1218public async Task WebApplicationCanObserveSourcesClearedInHostConfiguration(CreateBuilderOptionsFunc createBuilder)
2025public async Task DeveloperExceptionPageIsOnByDefaultInDevelopment(CreateBuilderOptionsFunc createBuilder)
2047public async Task DeveloperExceptionPageDoesNotGetCaughtByStartupFilters(CreateBuilderOptionsFunc createBuilder)
2065public async Task DeveloperExceptionPageIsNotOnInProduction(CreateBuilderOptionsFunc createBuilder)
2131public async Task DeveloperExceptionPageWritesBadRequestDetailsToResponseByDefaultInDevelopment(CreateBuilderOptionsFunc createBuilder)
2156public async Task NoExceptionAreThrownForBadRequestsInProduction(CreateBuilderOptionsFunc createBuilder)
2273public void ClearingConfigurationDoesNotAffectHostConfiguration(CreateBuilderOptionsFunc createBuilder)