mirror of https://github.com/abpframework/abp.git
6 changed files with 64 additions and 52 deletions
@ -1,16 +1,36 @@ |
|||
using System; |
|||
using Microsoft.Extensions.DependencyInjection; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp |
|||
{ |
|||
public interface IAbpApplication : IDisposable |
|||
{ |
|||
/// <summary>
|
|||
/// Type of the startup (entrance) module of the application.
|
|||
/// </summary>
|
|||
Type StartupModuleType { get; } |
|||
|
|||
/// <summary>
|
|||
/// List of services registered to this application.
|
|||
/// Can not add new services to this collection after application initialize.
|
|||
/// </summary>
|
|||
IServiceCollection Services { get; } |
|||
|
|||
/// <summary>
|
|||
/// Reference to the root service provider used by the application.
|
|||
/// This can not be used before initialize the application.
|
|||
/// </summary>
|
|||
IServiceProvider ServiceProvider { get; } |
|||
|
|||
/// <summary>
|
|||
/// List of modules loaded into this application.
|
|||
/// </summary>
|
|||
AbpModuleDescriptor[] Modules { get; } |
|||
|
|||
/// <summary>
|
|||
/// Used to gracefully shutdown the application and all modules.
|
|||
/// </summary>
|
|||
void Shutdown(); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue