|
|
@ -5,7 +5,10 @@ using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
|
namespace Volo.Abp; |
|
|
namespace Volo.Abp; |
|
|
|
|
|
|
|
|
public interface IAbpApplication : IModuleContainer, IDisposable |
|
|
public interface IAbpApplication : |
|
|
|
|
|
IModuleContainer, |
|
|
|
|
|
IApplicationNameAccessor, |
|
|
|
|
|
IDisposable |
|
|
{ |
|
|
{ |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Type of the startup (entrance) module of the application.
|
|
|
/// Type of the startup (entrance) module of the application.
|
|
|
@ -23,14 +26,7 @@ public interface IAbpApplication : IModuleContainer, IDisposable |
|
|
/// This can not be used before initialize the application.
|
|
|
/// This can not be used before initialize the application.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
IServiceProvider ServiceProvider { get; } |
|
|
IServiceProvider ServiceProvider { get; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Name of the application.
|
|
|
|
|
|
/// This is useful for systems with multiple applications, to distinguish
|
|
|
|
|
|
/// resources of the applications located together.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
string ApplicationName { get; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Calls the Pre/Post/ConfigureServicesAsync methods of the modules.
|
|
|
/// Calls the Pre/Post/ConfigureServicesAsync methods of the modules.
|
|
|
/// If you use this method, you must have set the <see cref="AbpApplicationCreationOptions.SkipConfigureServices"/>
|
|
|
/// If you use this method, you must have set the <see cref="AbpApplicationCreationOptions.SkipConfigureServices"/>
|
|
|
@ -47,4 +43,4 @@ public interface IAbpApplication : IModuleContainer, IDisposable |
|
|
/// Used to gracefully shutdown the application and all modules.
|
|
|
/// Used to gracefully shutdown the application and all modules.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
void Shutdown(); |
|
|
void Shutdown(); |
|
|
} |
|
|
} |