Dela via


StartupBase<TBuilder> Class

Definition

Base class for initializing services and middlewares used for configuring a TBuilder.

generic <typename TContainerBuilder>
public ref class StartupBase abstract : Microsoft::AspNetCore::Hosting::IStartup
generic <typename TBuilder>
public ref class StartupBase abstract : Microsoft::AspNetCore::Hosting::StartupBase
public abstract class StartupBase<TContainerBuilder> : Microsoft.AspNetCore.Hosting.IStartup
public abstract class StartupBase<TBuilder> : Microsoft.AspNetCore.Hosting.StartupBase
type StartupBase<'ContainerBuilder> = class
    interface IStartup
type StartupBase<'Builder> = class
    inherit StartupBase
Public MustInherit Class StartupBase(Of TContainerBuilder)
Implements IStartup
Public MustInherit Class StartupBase(Of TBuilder)
Inherits StartupBase

Type Parameters

TContainerBuilder TBuilder

The type of builder associated with the startup configuration.

Inheritance
StartupBase<TBuilder>
Inheritance
StartupBase<TBuilder>
Derived
Implements

Constructors

StartupBase<TBuilder>(IServiceProviderFactory<TBuilder>)

Constructor for StartupBase class.

Methods

Configure(IApplicationBuilder)
Configure(IApplicationBuilder)

Configures the application.

(Inherited from StartupBase)
ConfigureContainer(TBuilder)

Sets up the service container.

ConfigureServices(IServiceCollection)
ConfigureServices(IServiceCollection)

Register services into the IServiceCollection.

(Inherited from StartupBase)
CreateServiceProvider(IServiceCollection)

Creates an IServiceProvider instance for a given IServiceCollection.

Explicit Interface Implementations

IStartup.ConfigureServices(IServiceCollection)
IStartup.ConfigureServices(IServiceCollection) (Inherited from StartupBase)

Applies to