DelegateStartup Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
DelegateStartup(Action<IApplicationBuilder>) | |
DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>) |
Crea una nueva instancia de 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))
Parámetros
- configureApp
- Action<IApplicationBuilder>
Se aplica a
DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>)
- Source:
- DelegateStartup.cs
- Source:
- DelegateStartup.cs
- Source:
- DelegateStartup.cs
Crea una nueva instancia de 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))
Parámetros
Un generador para crear IServiceProvider instancias.
- configureApp
- Action<IApplicationBuilder>
para Action configurar la aplicación.