2023-04-23 11:06:54 +04:00
|
|
|
|
using FurnitureAssemblyContracts.DI;
|
|
|
|
|
using FurnitureAssemblyContracts.StoragesContracts;
|
|
|
|
|
using FurnitureAssemblyDatabaseImplement.Implements;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureAssemblyDatabaseImplement
|
|
|
|
|
{
|
|
|
|
|
public class DatabaseImplementationExtension : IImplementationExtension
|
|
|
|
|
{
|
|
|
|
|
public int Priority => 2;
|
|
|
|
|
|
|
|
|
|
public void RegisterServices()
|
|
|
|
|
{
|
|
|
|
|
DependencyManager.Instance.RegisterType<IClientStorage, ClientStorage>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IComponentStorage, ComponentStorage>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IImplementerStorage, ImplementerStorage>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IMessageInfoStorage, MessageInfoStorage>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IOrderStorage, OrderStorage>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IFurnitureStorage, FurnitureStorage>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IBackUpInfo, BackUpInfo>();
|
2023-04-23 12:14:24 +04:00
|
|
|
|
DependencyManager.Instance.RegisterType<IShopStorage, ShopStorage>();
|
2023-04-23 11:06:54 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|