mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Volo.Abp.Modularity
|
|
{
|
|
public class TestModuleBase : AbpModule
|
|
{
|
|
public bool PreConfigureServicesIsCalled { get; set; }
|
|
|
|
public bool ConfigureServicesIsCalled { get; set; }
|
|
|
|
public bool PostConfigureServicesIsCalled { get; set; }
|
|
|
|
public bool OnApplicationInitializeIsCalled { get; set; }
|
|
|
|
public bool OnApplicationShutdownIsCalled { get; set; }
|
|
|
|
public override void PreConfigureServices(IServiceCollection services)
|
|
{
|
|
PreConfigureServicesIsCalled = true;
|
|
}
|
|
|
|
public override void ConfigureServices(IServiceCollection services)
|
|
{
|
|
ConfigureServicesIsCalled = true;
|
|
}
|
|
|
|
public override void PostConfigureServices(IServiceCollection services)
|
|
{
|
|
PostConfigureServicesIsCalled = true;
|
|
}
|
|
|
|
public override void OnApplicationInitialization(ApplicationInitializationContext context)
|
|
{
|
|
OnApplicationInitializeIsCalled = true;
|
|
}
|
|
|
|
public override void OnApplicationShutdown(ApplicationShutdownContext context)
|
|
{
|
|
OnApplicationShutdownIsCalled = true;
|
|
}
|
|
}
|
|
} |