Interface IAbpApplication
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
Services
List of all service registrations. Can not add new services to this collection after application initialize.
IServiceCollection Services { get; }
Property Value
StartupModuleType
Type of the startup (entrance) module of the application.
Type StartupModuleType { get; }
Property Value
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
Shutdown()
Used to gracefully shutdown the application and all modules.
void Shutdown()
ShutdownAsync()
Used to gracefully shutdown the application and all modules.
Task ShutdownAsync()