2024-05-18 21:39:23 +04:00
|
|
|
|
using SushiBarContracts.DI;
|
|
|
|
|
using SushiBarContracts.StoragesContracts;
|
|
|
|
|
using SushiBarFileImplement.Implements;
|
|
|
|
|
|
|
|
|
|
namespace SushiBarFileImplement
|
|
|
|
|
{
|
2024-05-19 02:42:42 +04:00
|
|
|
|
public class FileImplementationExtension : IImplementationExtension
|
2024-05-18 21:39:23 +04:00
|
|
|
|
{
|
2024-05-19 02:42:42 +04:00
|
|
|
|
public int Priority => 1;
|
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>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|