public WB_ModelCacheEventConsumer(IWB_CountryStateZipService taxRateService, IWB_TaxCategoryMappingService taxCategoryMappingService, ISettingService settingService) { //TODO inject static cache manager using constructor this._cacheManager = EngineContext.Current.ContainerManager.Resolve <ICacheManager>("nop_cache_static"); this._taxRateService = taxRateService; this._taxCategoryMappingService = taxCategoryMappingService; this._settingService = settingService; }
public WB_FixedOrByCountryStateZipTaxProvider(IWB_CountryStateZipService taxRateService, IStoreContext storeContext, WB_CountryStateZipObjectContext objectContext, ICacheManager cacheManager, ISettingService settingService, WB_FixedOrByCountryStateZipTaxSettings countryStateZipSettings, ICategoryService categoryService, IWB_TaxCategoryMappingService taxCategoryMappingService ) { this._taxRateService = taxRateService; this._storeContext = storeContext; this._objectContext = objectContext; this._cacheManager = cacheManager; this._settingService = settingService; this._countryStateZipSettings = countryStateZipSettings; this._categoryService = categoryService; this._taxCategoryMappingService = taxCategoryMappingService; }
public WB_FixedOrByCountryStateZipController(ITaxCategoryService taxCategoryService, ICountryService countryService, IStateProvinceService stateProvinceService, ICategoryService categoryService, IWB_CountryStateZipService taxRateService, IWB_TaxCategoryMappingService taxCategoryMappingService, IPermissionService permissionService, IStoreService storeService, ISettingService settingService, WB_FixedOrByCountryStateZipTaxSettings countryStateZipSettings) { this._taxCategoryService = taxCategoryService; this._countryService = countryService; this._stateProvinceService = stateProvinceService; this._categoryService = categoryService; this._taxRateService = taxRateService; this._taxCategoryMappingService = taxCategoryMappingService; this._permissionService = permissionService; this._storeService = storeService; this._settingService = settingService; this._countryStateZipSettings = countryStateZipSettings; }