5 implementations of UseStartup
Microsoft.AspNetCore (1)
ConfigureWebHostBuilder.cs (1)
181
IWebHostBuilder ISupportsStartup.
UseStartup
<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] TStartup>(Func<WebHostBuilderContext, TStartup> startupFactory)
Microsoft.AspNetCore.Hosting (3)
GenericHost\GenericWebHostBuilder.cs (1)
189
public IWebHostBuilder
UseStartup
<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] TStartup>(Func<WebHostBuilderContext, TStartup> startupFactory)
GenericHost\HostingStartupWebHostBuilder.cs (1)
88
public IWebHostBuilder
UseStartup
<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] TStartup>(Func<WebHostBuilderContext, TStartup> startupFactory)
GenericHost\SlimWebHostBuilder.cs (1)
72
public IWebHostBuilder
UseStartup
<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] TStartup>(Func<WebHostBuilderContext, TStartup> startupFactory)
Microsoft.AspNetCore.Hosting.Tests (1)
Fakes\GenericWebHostBuilderWrapper.cs (1)
83
public IWebHostBuilder
UseStartup
<TStartup>(Func<WebHostBuilderContext, TStartup> startupFactory)
1 reference to UseStartup
Microsoft.AspNetCore.Hosting (1)
WebHostBuilderExtensions.cs (1)
97
return supportsStartup.
UseStartup
(startupFactory);