DelegateStartup Constructeurs
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
DelegateStartup(Action<IApplicationBuilder>) | |
DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>) |
Crée une instance DelegateStartup. |
DelegateStartup(Action<IApplicationBuilder>)
public:
DelegateStartup(Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public DelegateStartup (Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
new Microsoft.AspNetCore.Hosting.DelegateStartup : Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.DelegateStartup
Public Sub New (configureApp As Action(Of IApplicationBuilder))
Paramètres
- configureApp
- Action<IApplicationBuilder>
S’applique à
DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>)
- Source:
- DelegateStartup.cs
- Source:
- DelegateStartup.cs
- Source:
- DelegateStartup.cs
Crée une instance DelegateStartup.
public:
DelegateStartup(Microsoft::Extensions::DependencyInjection::IServiceProviderFactory<Microsoft::Extensions::DependencyInjection::IServiceCollection ^> ^ factory, Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public DelegateStartup (Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<Microsoft.Extensions.DependencyInjection.IServiceCollection> factory, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
new Microsoft.AspNetCore.Hosting.DelegateStartup : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<Microsoft.Extensions.DependencyInjection.IServiceCollection> * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.DelegateStartup
Public Sub New (factory As IServiceProviderFactory(Of IServiceCollection), configureApp As Action(Of IApplicationBuilder))
Paramètres
Fabrique pour la création d’instances IServiceProvider .
- configureApp
- Action<IApplicationBuilder>
pour Action configurer l’application.