Пример #1
0
 public BuildingTimingManager(
     IShopsStore shopsStore,
     IShopBaseInfoStore shopBaseInfoStore,
     IBuildingRecommendStore ibuildingRecommendStore,
     IMapper mapper)
 {
     _ishopsStore             = shopsStore ?? throw new ArgumentNullException(nameof(shopsStore));
     _ishopBaseInfoStore      = shopBaseInfoStore ?? throw new ArgumentNullException(nameof(shopBaseInfoStore));
     _ibuildingRecommendStore = ibuildingRecommendStore ?? throw new ArgumentNullException(nameof(ibuildingRecommendStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Пример #2
0
 public ShopsManager(
     IShopsStore shopsStore,
     IShopFacilitiesStore shopFacilitiesStore,
     IShopsFavoriteStore shopsFavoriteStore,
     IShopBaseInfoStore shopBaseInfoStore,
     IShopLeaseInfoStore shopLeaseInfoStore,
     IFileInfoStore fileInfoStore,
     IShopsFileScopeStore shopFileScopeStore,
     IMapper mapper
     )
 {
     _shopsStore          = shopsStore ?? throw new ArgumentNullException(nameof(shopsStore));
     _shopFacilitiesStore = shopFacilitiesStore ?? throw new ArgumentNullException(nameof(shopFacilitiesStore));
     _ishopsFavoriteStore = shopsFavoriteStore ?? throw new ArgumentNullException(nameof(shopsFavoriteStore));
     _shopBaseInfoStore   = shopBaseInfoStore ?? throw new ArgumentNullException(nameof(shopBaseInfoStore));
     _shopLeaseInfoStore  = shopLeaseInfoStore ?? throw new ArgumentNullException(nameof(shopLeaseInfoStore));
     _fileInfoStore       = fileInfoStore;
     _shopFileScopeStore  = shopFileScopeStore;
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Пример #3
0
 public ShopBaseInfoManager(IShopBaseInfoStore shopBaseInfoStore, IMapper mapper)
 {
     Store   = shopBaseInfoStore ?? throw new ArgumentNullException(nameof(shopBaseInfoStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }