ConfigureWebHostBuilder.ISupportsStartup.UseStartup Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ISupportsStartup.UseStartup(Type) | |
ISupportsStartup.UseStartup<TStartup>(Func<WebHostBuilderContext,TStartup>) |
ISupportsStartup.UseStartup(Type)
- Source:
- ConfigureWebHostBuilder.cs
Microsoft.AspNetCore.Hosting.IWebHostBuilder ISupportsStartup.UseStartup (Type startupType);
abstract member Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup : Type -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup : Type -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Function UseStartup (startupType As Type) As IWebHostBuilder Implements ISupportsStartup.UseStartup
Paramètres
- startupType
- Type
Retours
Implémente
S’applique à
ISupportsStartup.UseStartup<TStartup>(Func<WebHostBuilderContext,TStartup>)
- Source:
- ConfigureWebHostBuilder.cs
Microsoft.AspNetCore.Hosting.IWebHostBuilder ISupportsStartup.UseStartup<TStartup> (Func<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,TStartup> startupFactory);
abstract member Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup : Func<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, 'Startup> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.Microsoft.AspNetCore.Hosting.Infrastructure.ISupportsStartup.UseStartup : Func<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, 'Startup> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Function UseStartup(Of TStartup) (startupFactory As Func(Of WebHostBuilderContext, TStartup)) As IWebHostBuilder Implements ISupportsStartup.UseStartup
Paramètres de type
- TStartup
Paramètres
- startupFactory
- Func<WebHostBuilderContext,TStartup>