2022-03-19 19:58:10 +04:00
|
|
|
|
using SecurityBusinessLogic.BusinessLogics;
|
|
|
|
|
using SecurityBusinessLogic.BusinessLogics.GenericBusinessLogic;
|
|
|
|
|
using SecurityContract.Logics;
|
|
|
|
|
using SecurityContract.Logics.IGenericEntityLogic;
|
|
|
|
|
using ToolsModule.BusinessLogics;
|
|
|
|
|
using ToolsModule.Interfaces;
|
|
|
|
|
|
|
|
|
|
namespace SecurityBusinessLogic
|
|
|
|
|
{
|
2022-03-19 22:54:25 +04:00
|
|
|
|
public class SecurityLogicDependencyRegistration : IDependencyRegistration
|
2022-03-19 19:58:10 +04:00
|
|
|
|
{
|
|
|
|
|
public void RegisterServices()
|
|
|
|
|
{
|
|
|
|
|
DependencyManager.Instance.RegisterType<IAccessLogic, AccessBusinessLogic>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IEnviromentSettingLogic, EnviromentSettingBusinessLogic>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IRoleLogic, RoleBusinessLogic>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IUserLogic, UserBusinessLogic>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IUserRoleLogic, UserRoleBusinessLogic>();
|
|
|
|
|
|
|
|
|
|
DependencyManager.Instance.RegisterType<IBackupLogic, BackupBusinessLogic>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<ISynchronizationLogic, SynchronizationBusinessLogic>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|