Dela via


DelegateStartup Class

Definition

Used for initializing services and middlewares used by an application.

public ref class DelegateStartup : Microsoft::AspNetCore::Hosting::StartupBase
public ref class DelegateStartup : Microsoft::AspNetCore::Hosting::StartupBase<Microsoft::Extensions::DependencyInjection::IServiceCollection ^>
public class DelegateStartup : Microsoft.AspNetCore.Hosting.StartupBase
public class DelegateStartup : Microsoft.AspNetCore.Hosting.StartupBase<Microsoft.Extensions.DependencyInjection.IServiceCollection>
type DelegateStartup = class
    inherit StartupBase
type DelegateStartup = class
    inherit StartupBase<IServiceCollection>
Public Class DelegateStartup
Inherits StartupBase
Public Class DelegateStartup
Inherits StartupBase(Of IServiceCollection)
Inheritance
DelegateStartup
Inheritance

Constructors

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

Creates a new DelegateStartup instance.

Methods

Configure(IApplicationBuilder)

Configures the IApplicationBuilder with the initialized Action.

ConfigureContainer(TBuilder)

Sets up the service container.

(Inherited from StartupBase<TBuilder>)
ConfigureServices(IServiceCollection)

Register services into the IServiceCollection.

(Inherited from StartupBase)
ConfigureServices(IServiceCollection) (Inherited from StartupBase<TBuilder>)
CreateServiceProvider(IServiceCollection)

Creates an IServiceProvider instance for a given ConfigureServices(IServiceCollection).

(Inherited from StartupBase)
CreateServiceProvider(IServiceCollection)

Creates an IServiceProvider instance for a given IServiceCollection.

(Inherited from StartupBase<TBuilder>)

Applies to