public void Add(Scheduler.ITask t, TimeSpan frequency)
 {
     this.Add(t, frequency, TimeSpan.Zero);
 }
 /// <summary>
 /// Create a delegate based on the ITask object and from that create
 /// a task that will execute the delegate at the given frequency
 /// </summary>
 /// <param name="frequency">How often this taks should run</param>
 /// <param name="delay">How long to wait before first run</param>
 /// <example>
 /// _schedule.Add(new Tasks.UpdateUsers(), TimeSpan.FromHours(1), TimeSpan.FromMinutes(30));
 /// </example>
 public void Add(Scheduler.ITask t, TimeSpan frequency, TimeSpan delay)
 {
     this.Add(new Scheduler.Task.TaskDelegate(t.Execute), frequency, delay);
 }