public override BaseElement Clone() { TimerEventDefinition clone = new TimerEventDefinition(); clone.SetValues(this); return(clone); }
public void SetValues(TimerEventDefinition otherDefinition) { base.SetValues(otherDefinition); timeDate = otherDefinition.TimeDate; timeDuration = otherDefinition.TimeDuration; timeCycle = otherDefinition.TimeCycle; endDate = otherDefinition.EndDate; calendarName = otherDefinition.CalendarName; }