Esempio n. 1
0
 public ItemAppService(IRepository <Item> itemRepository,
                       RedisContext <Item> itemCache,
                       IApplicationInjector applicationInjector) : base(applicationInjector)
 {
     _itemRepository = itemRepository;
     _itemCache      = itemCache.SetDatabase(nameof(Item));
 }
Esempio n. 2
0
 public BrandAppService(IRepository <Brand> brandRepository,
                        RedisContext <Brand> brandCache,
                        IApplicationInjector applicationInjector) : base(applicationInjector)
 {
     _brandRepository = brandRepository;
     _brandCache      = brandCache.SetDatabase(nameof(Brand));
 }
Esempio n. 3
0
 public ApplicationRealProxy(Type fixtureType, string exeFile, IApplicationInjector injector)
     : base(fixtureType)
 {
     _exeFile  = exeFile;
     _injector = injector;
 }
Esempio n. 4
0
 public OrderAppService(IRepository <entity.Order> orderRepository,
                        IRepository <entity.CustomerInfo> customerRepository, IApplicationInjector applicationInjector) : base(applicationInjector)
 {
     _orderRepository    = orderRepository;
     _customerRepository = customerRepository;
 }
 public BasketAppService(IApplicationInjector coreInjector,
                         RedisContext <BasketModel> redisContext) : base(coreInjector)
 {
     _basketCacheContext = redisContext;
 }
 protected OrderAppServiceBase(IApplicationInjector injector) : base(injector)
 {
     LocalizationSourceName = OrderConsts.LocalizationSourceName;
 }
Esempio n. 7
0
 protected ItemsAppServiceBase(IApplicationInjector injector) : base(injector)
 {
     LocalizationSourceName = ItemsConsts.LocalizationSourceName;
 }
Esempio n. 8
0
 public BaseAppService(IApplicationInjector injector)
 {
     Mapper = injector.Mapper;
 }