9 references to StartupLoader
Microsoft.AspNetCore.Hosting (9)
GenericHost\GenericWebHostBuilder.cs (5)
102
var startupType =
StartupLoader
.FindStartupType(webHostOptions.StartupAssembly!, webhostContext.HostingEnvironment.EnvironmentName);
230
if (
StartupLoader
.HasConfigureServicesIServiceProviderDelegate(startupType, context.HostingEnvironment.EnvironmentName))
239
var configureServicesBuilder =
StartupLoader
.FindConfigureServicesDelegate(startupType, context.HostingEnvironment.EnvironmentName);
246
var configureContainerBuilder =
StartupLoader
.FindConfigureContainerDelegate(startupType, context.HostingEnvironment.EnvironmentName);
256
configureBuilder =
StartupLoader
.FindConfigureDelegate(startupType, context.HostingEnvironment.EnvironmentName);
WebHostBuilder.cs (2)
318
var startupType =
StartupLoader
.FindStartupType(startupAssemblyName, _hostingEnvironment.EnvironmentName);
332
var methods =
StartupLoader
.LoadMethods(serviceProvider, startupType, hostingEnvironment.EnvironmentName);
WebHostBuilderExtensions.cs (2)
122
return new ConventionBasedStartup(
StartupLoader
.LoadMethods(serviceProvider, instance.GetType(), hostingEnvironment.EnvironmentName, instance));
159
return new ConventionBasedStartup(
StartupLoader
.LoadMethods(sp, startupType, hostingEnvironment.EnvironmentName));