public ItemAppService(IRepository <Item> itemRepository, RedisContext <Item> itemCache, IApplicationInjector applicationInjector) : base(applicationInjector) { _itemRepository = itemRepository; _itemCache = itemCache.SetDatabase(nameof(Item)); }
public BrandAppService(IRepository <Brand> brandRepository, RedisContext <Brand> brandCache, IApplicationInjector applicationInjector) : base(applicationInjector) { _brandRepository = brandRepository; _brandCache = brandCache.SetDatabase(nameof(Brand)); }
public ApplicationRealProxy(Type fixtureType, string exeFile, IApplicationInjector injector) : base(fixtureType) { _exeFile = exeFile; _injector = injector; }
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; }
protected ItemsAppServiceBase(IApplicationInjector injector) : base(injector) { LocalizationSourceName = ItemsConsts.LocalizationSourceName; }
public BaseAppService(IApplicationInjector injector) { Mapper = injector.Mapper; }