public RateByDistrictComputationMethod(
            ISettingService settingService,
            IShippingService shippingService,
            IShippingByDistrictService shippingByDistrictService,
            IShippingByCategoryService shippingByCategoryService,
            RateByDistrictSettings rateByDistrictSettings,
            IStoreContext storeContext,
            IPriceCalculationService priceCalculationService,
            ShippingByDistrictObjectContext objectContext,
            IProductService productService,
            ICategoryService categoryService
            )
        {
            this._settingService            = settingService;
            this._shippingService           = shippingService;
            this._shippingByDistrictService = shippingByDistrictService;
            this._shippingByCategoryService = shippingByCategoryService;
            this._rateByDistrictSettings    = rateByDistrictSettings;
            this._storeContext            = storeContext;
            this._priceCalculationService = priceCalculationService;
            this._objectContext           = objectContext;

            this._categoryService = categoryService;
            this._productService  = productService;
        }
示例#2
0
 public RateByDistrictController(IShippingService shippingServicee,
                                 ISettingService settingService,
                                 IPermissionService permissionService,
                                 IStoreService storeService,
                                 ICountryService countryService,
                                 IStateProvinceService stateProvinceService,
                                 IShippingByDistrictService shippingByDistrictService,
                                 IShippingByProductTypeService shippingByProductTypeService,
                                 IShippingByCategoryService shippingByCategoryService,
                                 ILocalizationService localizationService,
                                 ICurrencyService currencyService,
                                 CurrencySettings currencySettings,
                                 IMeasureService measureService,
                                 MeasureSettings measureSettings,
                                 RateByDistrictSettings rateByDistrictSettings,
                                 ICategoryService categoryService
                                 )
 {
     this._shippingService              = shippingServicee;
     this._settingService               = settingService;
     this._permissionService            = permissionService;
     this._rateByDistrictSettings       = rateByDistrictSettings;
     this._storeService                 = storeService;
     this._countryService               = countryService;
     this._stateProvinceService         = stateProvinceService;
     this._shippingByDistrictService    = shippingByDistrictService;
     this._shippingByProductTypeService = shippingByProductTypeService;
     this._shippingByCategoryService    = shippingByCategoryService;
     this._localizationService          = localizationService;
     this._currencyService              = currencyService;
     this._currencySettings             = currencySettings;
     this._measureService               = measureService;
     this._measureSettings              = measureSettings;
     this._categoryService              = categoryService;
 }