Beispiel #1
0
 public PTTask AddTask(PTTimePair endTime, Func <object> initialize, Func <object, object> main, Action <object> finalize, uint period = 1)
 {
     return(AddTask(endTime, PTTask.Borrow(endTime, initialize, main, finalize, period)));
 }
Beispiel #2
0
 public PTTask AddTask(PTTimePair endTime, Func <object, object> main, uint period = 1)
 {
     return(AddTask(endTime, PTTask.Borrow(endTime, null, main, null, period)));
 }