2024-05-18 21:39:23 +04:00
|
|
|
|
using SushiBarContracts.DI;
|
|
|
|
|
using SushiBarContracts.StoragesContracts;
|
2024-05-19 02:42:42 +04:00
|
|
|
|
using SushiBarListImplements.Implements;
|
2024-05-18 21:39:23 +04:00
|
|
|
|
|
2024-05-19 02:42:42 +04:00
|
|
|
|
namespace SushiBarListImplements
|
2024-05-18 21:39:23 +04:00
|
|
|
|
{
|
2024-05-19 02:42:42 +04:00
|
|
|
|
public class ListImplementationExtention : IImplementationExtension
|
2024-05-18 21:39:23 +04:00
|
|
|
|
{
|
|
|
|
|
public int Priority => 0;
|
2024-05-19 02:42:42 +04:00
|
|
|
|
|
2024-05-18 21:39:23 +04:00
|
|
|
|
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<ISushiStorage, SushiStorage>();
|
|
|
|
|
DependencyManager.Instance.RegisterType<IBackUpInfo, BackUpInfo>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|