34 lines
1.5 KiB
C#
34 lines
1.5 KiB
C#
|
using PlumbingRepairBusinessLogic.BusinessLogics;
|
|||
|
using PlumbingRepairBusinessLogic.MailWorker;
|
|||
|
using PlumbingRepairBusinessLogic.OfficePackage.Implements;
|
|||
|
using PlumbingRepairBusinessLogic.OfficePackage;
|
|||
|
using PlumbingRepairContracts.BusinessLogicsContracts;
|
|||
|
using PlumbingRepairContracts.DI;
|
|||
|
|
|||
|
namespace PlumbingRepairBusinessLogic
|
|||
|
{
|
|||
|
public class ImplementationBusinessLogicExtension : IImplementationBusinessLogicExtension
|
|||
|
{
|
|||
|
public int Priority => 0;
|
|||
|
|
|||
|
public void RegisterServices()
|
|||
|
{
|
|||
|
DependencyManager.Instance.RegisterType<IComponentLogic, ComponentLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IOrderLogic, OrderLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IWorkLogic, WorkLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IReportLogic, ReportLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IClientLogic, ClientLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IImplementerLogic, ImplementerLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IMessageInfoLogic, MessageInfoLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IWorkProcess, WorkModeling>();
|
|||
|
DependencyManager.Instance.RegisterType<IBackUpLogic, BackUpLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IShopLogic, ShopLogic>();
|
|||
|
|
|||
|
DependencyManager.Instance.RegisterType<AbstractMailWorker, MailKitWorker>(true);
|
|||
|
|
|||
|
DependencyManager.Instance.RegisterType<AbstractSaveToExcel, SaveToExcel>();
|
|||
|
DependencyManager.Instance.RegisterType<AbstractSaveToWord, SaveToWord>();
|
|||
|
DependencyManager.Instance.RegisterType<AbstractSaveToPdf, SaveToPdf>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|