public FileScopeManager(IShopsFileScopeStore shopsFileScopeStore,
                         IBuildingFileScopeStore buildingFileScopeStore,
                         IUpdateRecordFileScopeStore updateRecordFileScopeStore,
                         IBuildingNoticeFileScopeStore buildingNoticeFileScopeStore,
                         IBuildingsStore buildingsStore,
                         IShopsStore shopsStore,
                         IFileInfoStore fileInfoStore,
                         IMapper mapper)
 {
     _shopsFileScopeStore        = shopsFileScopeStore ?? throw new ArgumentNullException(nameof(shopsFileScopeStore));
     _buildingFileScopeStore     = buildingFileScopeStore ?? throw new ArgumentNullException(nameof(buildingFileScopeStore));
     _updateRecordFileScopeStore = updateRecordFileScopeStore ?? throw new ArgumentNullException(nameof(updateRecordFileScopeStore));
     _buildingsStore             = buildingsStore ?? throw new ArgumentNullException(nameof(buildingsStore));
     _shopsStore    = shopsStore ?? throw new ArgumentNullException(nameof(shopsStore));
     _fileInfoStore = fileInfoStore ?? throw new ArgumentNullException(nameof(fileInfoStore));
     _mapper        = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _buildingNoticeFileScopeStore = buildingNoticeFileScopeStore ?? throw new ArgumentNullException(nameof(buildingNoticeFileScopeStore));
 }
Exemplo n.º 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));
 }