40 lines
1.8 KiB
C#
40 lines
1.8 KiB
C#
|
using FurnitureAssemblyBusinessLogic.MailWorker;
|
|||
|
using FurnitureAssemblyBusinessLogic.OfficePackage.Implements;
|
|||
|
using FurnitureAssemblyBusinessLogic.OfficePackage;
|
|||
|
using FurnitureAssemblyContracts.BusinessLogicsContarcts;
|
|||
|
using FurnitureAssemblyContracts.DI;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace FurnitureAssemblyBusinessLogic
|
|||
|
{
|
|||
|
public class BusinessLogicImplementationExtension : IImplementationBusinessLogicExtension
|
|||
|
{
|
|||
|
public int Priority => 3;
|
|||
|
|
|||
|
public void RegisterServices()
|
|||
|
{
|
|||
|
|
|||
|
DependencyManager.Instance.RegisterType<IComponentLogic, ComponentLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IOrderLogic, OrderLogic>();
|
|||
|
DependencyManager.Instance.RegisterType<IFurnitureLogic, FurnitureLogic>();
|
|||
|
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>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|