/// <summary> /// An overload to use to get either every weekday or just every x-days /// </summary> /// <param name="regenEveryXDays" type="int"> /// <para> /// Interval of days. Every x-days. /// </para> /// </param> /// <param name="regenType" type="BOCA.RecurrenceGenerator.DailyRegenType"> /// <para> /// Type of regeneration to perform. Every x-days or every weekday. /// </para> /// </param> /// <returns> /// A RecurrenceGenerator.RecurrenceValues value... /// </returns> public RecurrenceValues GetValues(int regenEveryXDays, DailyRegenType regenType) { this.regenEveryXDays = regenEveryXDays; this.regenType = regenType; return(GetValues()); }
void SetValues(int regenEveryXDays) { this.regenEveryXDays = regenEveryXDays; regenType = DailyRegenType.OnEveryXDays; }
/// <summary> /// Get day values. This overload is for every x-days. /// </summary> /// <param name="regenEveryXDays">Interval of days. Every x-days.</param> /// <returns>RecurrenceValues</returns> public RecurrenceValues GetValues(int regenEveryXDays) { this.regenEveryXDays = regenEveryXDays; regenType = DailyRegenType.OnEveryXDays; return(GetValues()); }
internal void SetDailyRegenType(DailyRegenType dailyRegenType) { this.dailyRegenType = dailyRegenType; }