DelegateStartup Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DelegateStartup(Action<IApplicationBuilder>) | |
DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>) |
Creates a new DelegateStartup instance. |
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))
Parameters
- configureApp
- Action<IApplicationBuilder>
Applies to
DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>)
- Source:
- DelegateStartup.cs
- Source:
- DelegateStartup.cs
- Source:
- DelegateStartup.cs
Creates a new DelegateStartup instance.
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))
Parameters
A factory for creating IServiceProvider instances.
- configureApp
- Action<IApplicationBuilder>
An Action for configuring the application.