/// <summary>
		/// 构造方法,每隔几个月,第几天执行
		/// </summary>
		/// <param name="day"></param>
		/// <param name="durMonths"></param>
		/// <param name="timeFrequency"></param>
		public MonthlyJobScheduleFrequency(int day, int durMonths, TimeFrequencyBase timeFrequency)
		{
			this.Day = day;
			this.DurationMonths = durMonths;
			this.FrequencyTime = timeFrequency;
		}
 /// <summary>
 /// 构造方法,每隔几个月,第几天执行
 /// </summary>
 /// <param name="day"></param>
 /// <param name="durMonths"></param>
 /// <param name="timeFrequency"></param>
 public MonthlyJobScheduleFrequency(int day, int durMonths, TimeFrequencyBase timeFrequency)
 {
     this.Day            = day;
     this.DurationMonths = durMonths;
     this.FrequencyTime  = timeFrequency;
 }
		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="dayOfWeeks">每周几</param>
		/// <param name="durWeeks">每隔几周</param>
		/// <param name="timeFrequency">时间频率</param>
		public WeeklyJobScheduleFrequency(List<DayOfWeek> dayOfWeeks, int durWeeks, TimeFrequencyBase timeFrequency)
		{
			this._daysOfWeek = dayOfWeeks;
			this.DurationWeeks = durWeeks;
			this.FrequencyTime = timeFrequency;
		}
Ejemplo n.º 4
0
 /// <summary>
 /// 构造方法
 /// </summary>
 /// <param name="dayOfWeeks">每周几</param>
 /// <param name="durWeeks">每隔几周</param>
 /// <param name="timeFrequency">时间频率</param>
 public WeeklyJobScheduleFrequency(List <DayOfWeek> dayOfWeeks, int durWeeks, TimeFrequencyBase timeFrequency)
 {
     this._daysOfWeek   = dayOfWeeks;
     this.DurationWeeks = durWeeks;
     this.FrequencyTime = timeFrequency;
 }
		/// <summary>
		/// 
		/// </summary>
		/// <param name="days">每隔几天</param>
		/// <param name="frequencyTime">时间频率</param>
		public DailyJobScheduleFrequency(int days, TimeFrequencyBase frequencyTime)
		{
			this.DurationDays = days;
			this.FrequencyTime = frequencyTime;
		}
Ejemplo n.º 6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="days">每隔几天</param>
 /// <param name="frequencyTime">时间频率</param>
 public DailyJobScheduleFrequency(int days, TimeFrequencyBase frequencyTime)
 {
     this.DurationDays  = days;
     this.FrequencyTime = frequencyTime;
 }