public ProductParameterController(IProductParameterService productParameterService, IParameterService parameterService, IParameterValueService parameterValueService, IProductService productService, ICategoryService categoryService, IWorkContext workContext) { _productParameterService = productParameterService; _parameterService = parameterService; _parameterValueService = parameterValueService; _productService = productService; _categoryService = categoryService; _workContext = workContext; }
/// <summary> /// 构造函数(操作函数注入) /// </summary> public ClassifyController( IProductService productService, IProductBrandService productBrandService, IProductDetailService productDetailService, IProductParameterService productParameterService, IClassifyService classifyService, IParameterValueService parameterValueService, IParameterService parameterService, IWorkContext workContext) { _productService = productService; _productBrandService = productBrandService; _productDetailService = productDetailService; _productParameterService = productParameterService; _classifyService = classifyService; _parameterService = parameterService; _parameterValueService = parameterValueService; _workContext = workContext; }
/// <summary> /// 状态管理初始化 /// </summary> /// <param name="parameterService">parameterService</param> /// <param name="areaService">areaService</param> /// <param name="parameterValueService">parameterValueService</param> public ConditionController(IParameterService parameterService, IAreaService areaService, IParameterValueService parameterValueService) { _parameterService = parameterService; _areaService = areaService; _parameterValueService = parameterValueService; }
public ParameterValueController(IParameterValueService parameterValueService, IParameterService parameterService) { _parameterValueService = parameterValueService; _parameterService = parameterService; }