public FlashSalePlanAppService( IFlashSalePlanRepository flashSalePlanRepository, IProductAppService productAppService, IDistributedCache <FlashSalePlanPreOrderCacheItem> tokenDistributedCache, IDistributedCache <FlashSalePlanCacheItem, Guid> planDistributedCache, IDistributedEventBus distributedEventBus, IFlashSaleResultRepository flashSaleResultRepository, IAbpDistributedLock distributedLock, IFlashSalePlanHasher flashSalePlanHasher, IFlashSaleInventoryManager flashSaleInventoryManager, IDistributedCache distributedCache, IOptionsMonitor <FlashSalesOptions> optionsMonitor) : base(flashSalePlanRepository) { FlashSalePlanRepository = flashSalePlanRepository; ProductAppService = productAppService; PreOrderDistributedCache = tokenDistributedCache; PlanDistributedCache = planDistributedCache; DistributedEventBus = distributedEventBus; FlashSaleResultRepository = flashSaleResultRepository; DistributedLock = distributedLock; FlashSalePlanHasher = flashSalePlanHasher; FlashSaleInventoryManager = flashSaleInventoryManager; DistributedCache = distributedCache; Options = optionsMonitor.CurrentValue; }
public CreateFlashSaleOrderCompleteEventHandler(IFlashSaleResultRepository flashSaleResultRepository, IGuidGenerator guidGenerator) { FlashSaleResultRepository = flashSaleResultRepository; GuidGenerator = guidGenerator; }
public FlashSaleResultAppService(IFlashSaleResultRepository flashSaleResultRepository) : base(flashSaleResultRepository) { }