示例#1
0
 public ApiPlugin(ApiObjectContext objectContext, IWebConfigMangerHelper webConfigMangerHelper, ISettingService settingService, IWorkContext workContext,
                  ILocalizationService localizationService, IWebHelper webHelper)
 {
     _objectContext         = objectContext;
     _webConfigMangerHelper = webConfigMangerHelper;
     _settingService        = settingService;
     _workContext           = workContext;
     _localizationService   = localizationService;
     _webHelper             = webHelper;
 }
示例#2
0
        public ApiPlugin(ApiObjectContext objectContext, /*IWebConfigMangerHelper webConfigMangerHelper,*/ ISettingService settingService, IWorkContext workContext,
                         ILocalizationService localizationService, IWebHelper webHelper
/*, IConfiguration configuration*/)
        {
            _objectContext = objectContext;
            //_webConfigMangerHelper = webConfigMangerHelper;
            _settingService      = settingService;
            _workContext         = workContext;
            _localizationService = localizationService;
            _webHelper           = webHelper;
            //_configuration = configuration;
        }
示例#3
0
 public ApiPlugin(ApiObjectContext objectContext, IWebConfigMangerHelper webConfigMangerHelper)
 {
     _objectContext         = objectContext;
     _webConfigMangerHelper = webConfigMangerHelper;
 }