DelegateStartup Class
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.
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 ^>
C#
public class DelegateStartup : Microsoft.AspNetCore.Hosting.StartupBase
C#
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
- Inheritance
Delegate |
|
Delegate |
Creates a new DelegateStartup instance. |
Configure(IApplication |
Configures the IApplicationBuilder with the initialized Action. |
Configure |
Sets up the service container. (Inherited from StartupBase<TBuilder>) |
Configure |
Register services into the IServiceCollection. (Inherited from StartupBase) |
Configure |
(Inherited from StartupBase<TBuilder>) |
Create |
Creates an IServiceProvider instance for a given ConfigureServices(IServiceCollection). (Inherited from StartupBase) |
Create |
Creates an IServiceProvider instance for a given IServiceCollection. (Inherited from StartupBase<TBuilder>) |
منتج | الإصدارات |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |