DepartmentProject/DepartmentPortal/Department/DepartmentBusinessLogic/DepartmentLogicDependencyRegistration.cs

53 lines
2.6 KiB
C#
Raw Normal View History

using DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic;
using DepartmentContract.Logics.IGenericEntityLogic;
2022-03-20 10:10:44 +04:00
using ToolsModule.ManagmentDependency;
using ToolsOffice.Implements.WordOpenXML;
using ToolsOffice.Interfaces.Word;
namespace DepartmentBusinessLogic
{
public class DepartmentLogicDependencyRegistration : IDependencyRegistration
{
public void RegisterServices()
{
DependencyManager.Instance.RegisterType<IPostLogic, PostBusinessLogic>();
DependencyManager.Instance.RegisterType<IEmployeeLogic, EmployeeBusinessLogic>();
DependencyManager.Instance.RegisterType<IEmployeePostLogic, EmployeePostBusinessLogic>();
DependencyManager.Instance.RegisterType<IClassroomLogic, ClassroomBusinessLogic>();
DependencyManager.Instance.RegisterType<IDisciplineBlockLogic, DisciplineBlockBusinessLogic>();
DependencyManager.Instance.RegisterType<IDisciplineLogic, DisciplineBusinessLogic>();
DependencyManager.Instance.RegisterType<ILecturerAcademicDegreeLogic, LecturerAcademicDegreeBusinessLogic>();
DependencyManager.Instance.RegisterType<ILecturerAcademicRankLogic, LecturerAcademicRankBusinessLogic>();
DependencyManager.Instance.RegisterType<ILecturerLogic, LecturerBusinessLogic>();
DependencyManager.Instance.RegisterType<ILecturerPostLogic, LecturerPostBusinessLogic>();
DependencyManager.Instance.RegisterType<IEducationDirectionLogic, EducationDirectionBusinessLogic>();
DependencyManager.Instance.RegisterType<ITimeNormLogic, TimeNormBusinessLogic>();
DependencyManager.Instance.RegisterType<IAcademicPlanLogic, AcademicPlanBusinessLogic>();
DependencyManager.Instance.RegisterType<IAcademicPlanRecordLogic, AcademicPlanRecordBusinessLogic>();
DependencyManager.Instance.RegisterType<IAcademicPlanRecordTimeNormHourLogic, AcademicPlanRecordTimeNormHourBusinessLogic>();
DependencyManager.Instance.RegisterType<IStudentGroupLogic, StudentGroupBusinessLogic>();
DependencyManager.Instance.RegisterType<IStudentLogic, StudentBusinessLogic>();
DependencyManager.Instance.RegisterType<IOrderLogic, OrderBusinessLogic>();
DependencyManager.Instance.RegisterType<IOrderStudentRecordLogic, OrderStudentRecordBusinessLogic>();
DependencyManager.Instance.RegisterType<IOrderSyncHistoryLogic, OrderSyncHistoryBusinessLogic>();
DependencyManager.Instance.RegisterType<IOrderSyncHistoryRecordLogic, OrderSyncHistoryRecordBusinessLogic>();
2022-03-27 14:51:27 +04:00
DependencyManager.Instance.RegisterType<IBasicDepartmentLogic, BasicDepartmentBusinessLogic>();
DependencyManager.Instance.RegisterType<BuilderWordDocument, BuilderWordDocumentOpenXML>();
}
}
}