Table of Contents

Interface IAbpApplication

Namespace
Volo.Abp
Assembly
Volo.Abp.Core.dll
public interface IAbpApplication : IModuleContainer, IApplicationInfoAccessor, IDisposable
Inherited Members
Extension Methods

Properties

ServiceProvider

Reference to the root service provider used by the application. This can not be used before initializing the application.

IServiceProvider ServiceProvider { get; }

Property Value

IServiceProvider

Services

List of all service registrations. Can not add new services to this collection after application initialize.

IServiceCollection Services { get; }

Property Value

IServiceCollection

StartupModuleType

Type of the startup (entrance) module of the application.

Type StartupModuleType { get; }

Property Value

Type

Methods

ConfigureServicesAsync()

Calls the Pre/Post/ConfigureServicesAsync methods of the modules. If you use this method, you must have set the SkipConfigureServices option to true before.

Task ConfigureServicesAsync()

Returns

Task

Shutdown()

Used to gracefully shutdown the application and all modules.

void Shutdown()

ShutdownAsync()

Used to gracefully shutdown the application and all modules.

Task ShutdownAsync()

Returns

Task