1 write to ConfigureServicesDelegate
Microsoft.AspNetCore.Hosting (1)
Internal\StartupMethods.cs (1)
19ConfigureServicesDelegate = configureServices;
22 references to ConfigureServicesDelegate
Microsoft.AspNetCore.Hosting (1)
Startup\ConventionBasedStartup.cs (1)
37return _methods.ConfigureServicesDelegate(services);
Microsoft.AspNetCore.Hosting.Tests (21)
StartupManagerTests.cs (21)
30var applicationServices = startup.ConfigureServicesDelegate(serviceCollection); 52var applicationServices = startup.ConfigureServicesDelegate(serviceCollection); 79var exception = Assert.Throws<InvalidOperationException>(() => startup.ConfigureServicesDelegate(serviceCollection)); 98var applicationServices = startup.ConfigureServicesDelegate(serviceCollection); 120var applicationServices = startup.ConfigureServicesDelegate(serviceCollection); 142var applicationServices = startup.ConfigureServicesDelegate(serviceCollection); 301app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection); 324app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection); 350app.ApplicationServices = startup.ConfigureServicesDelegate(new ServiceCollection()); 397app.ApplicationServices = startup.ConfigureServicesDelegate(new ServiceCollection()); 460app.ApplicationServices = startup.ConfigureServicesDelegate(new ServiceCollection()); 477app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection); 495app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection); 512app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection); 528Assert.Throws<Exception>(() => startup.ConfigureServicesDelegate(serviceCollection)); 541app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection); 556app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection); 572app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection); 588app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection); 602Assert.Throws<InvalidOperationException>(() => startup.ConfigureServicesDelegate(serviceCollection)); 634app.ApplicationServices = startup.ConfigureServicesDelegate(serviceCollection);