Esempio n. 1
0
 public sCallTimeOfDayCondition(sCallTime? start, sCallTime? end, sCallTimeOfDayRange? timeRange, sCallTimeDateRange? dateRange,
     ICallAction[] actions,ICallAction[] antiActions,CallConditionBreakTypes? breakType)
 {
     _start = start;
     _end = end;
     _timeRange = timeRange;
     _dateRange = dateRange;
     if (_end == null && _start == null && _timeRange == null && _dateRange == null)
         throw new Exception("You must specify at least one type of time condition");
     _actions = (actions == null ? new ICallAction[0] : actions);
     _antiActions = (antiActions == null ? new ICallAction[0] : antiActions);
     _break = breakType;
 }
Esempio n. 2
0
 public sCallTimeOfDayCondition(sCallTimeOfDayRange timeRange, ICallAction[] actions, ICallAction[] antiActions, CallConditionBreakTypes?breakType)
     : this(null, null, timeRange, null, actions, antiActions, breakType)
 {
 }
Esempio n. 3
0
 public sCallTimeOfDayCondition(sCallTimeOfDayRange timeRange, ICallAction[] actions, ICallAction[] antiActions, CallConditionBreakTypes? breakType)
     : this(null, null, timeRange, null, actions, antiActions, breakType) { }