public ITimeTask Task(Action <object> task) { TimeTask timeTask = new TimeTask(this) { ActionTaskWithContext = task }; return(timeTask); }
public ITimeTask Task(Action task) { TimeTask timeTask = new TimeTask(this) { ActionTask = task }; return(timeTask); }
public void Cancel(TimeTask task) { queueTasks.Remove(task); }
public ITimeTaskHandler Push(TimeTask task) { queueTasks.Add(task); return(task); }
public ITimeTask Task(Action<object> task) { TimeTask timeTask = new TimeTask(this) { ActionTaskWithContext = task }; return timeTask; }
public ITimeTask Task(Action task) { TimeTask timeTask = new TimeTask(this) { ActionTask = task }; return timeTask; }
public ITimeTaskHandler Push(TimeTask task) { queueTasks.Add(task); return task; }