Beispiel #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;
 }
Beispiel #2
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,
                       DateTimeSettings dateTimeSettings)
 {
     _workContext      = workContext;
     _dateTimeSettings = dateTimeSettings;
 }