34 lines
816 B
C#
34 lines
816 B
C#
using Abp.Dependency;
|
|
using Abp.Modules;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Yunda.SOMS.OperationsMainSiteGatewayServer
|
|
{
|
|
|
|
public class OperationsGatewayAppModule : AbpModule
|
|
{
|
|
public override void PreInitialize()
|
|
{
|
|
// 配置其他服务
|
|
}
|
|
|
|
public override void Initialize()
|
|
{
|
|
// 自动注册程序集中的依赖
|
|
IocManager.RegisterAssemblyByConvention(typeof(OperationsGatewayAppModule).Assembly);
|
|
|
|
// 手动注册服务
|
|
//IocManager.Register<MonitoringDataService>();
|
|
}
|
|
|
|
public override void PostInitialize()
|
|
{
|
|
// 应用启动时的后期初始化逻辑
|
|
}
|
|
}
|
|
}
|