Exemplo n.º 1
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="workContext">Work context</param>
 /// <param name="genericAttributeService">Generic attribute service</param>
 /// <param name="settingService">Setting service</param>
 /// <param name="dateTimeSettings">Datetime settings</param>
 public DateTimeHelper(IWorkContext workContext,
                       //IGenericAttributeService genericAttributeService,
                       ISettingService settingService,
                       DateTimeSettings dateTimeSettings)
 {
     this._workContext = workContext;
     //this._genericAttributeService = genericAttributeService;
     this._settingService   = settingService;
     this._dateTimeSettings = dateTimeSettings;
 }
Exemplo n.º 2
0
 public DateTimeHelper(IWorkContext workContext,
     IGenericAttributeService genericAttributeService,
     ISettingService settingService,
     DateTimeSettings dateTimeSettings,
     IStoreContext storeContext)
 {
     _workContext = workContext;
     _genericAttributeService = genericAttributeService;
     _settingService = settingService;
     _dateTimeSettings = dateTimeSettings;
     _storeContext = storeContext;
 }