Freigeben über


DelegateStartup Konstruktoren

Definition

Überlädt

DelegateStartup(Action<IApplicationBuilder>)
DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>)

Erstellt eine neue DelegateStartup-Instanz.

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))

Parameter

configureApp
Action<IApplicationBuilder>

Gilt für:

DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>)

Quelle:
DelegateStartup.cs
Quelle:
DelegateStartup.cs
Quelle:
DelegateStartup.cs

Erstellt eine neue DelegateStartup-Instanz.

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))

Parameter

factory
IServiceProviderFactory<IServiceCollection>

Eine Factory zum Erstellen von IServiceProvider Instanzen.

configureApp
Action<IApplicationBuilder>

Ein Action zum Konfigurieren der Anwendung.

Gilt für: