Exemplo n.º 1
0
 public TaskBase(int runEverySecs, Cancellation cancellation = null)
 {
     log.Debug("Creating TaskBase");
     this.runEverySecs = runEverySecs;
     this.cancellation = cancellation;
     Init();
 }
Exemplo n.º 2
0
 public TaskBase(Cancellation cancellation = null)
 {
     this.cancellation = cancellation;
     Init();
 }
Exemplo n.º 3
0
 public TaskManager(Cancellation cancellation = null, WaitOnStart waitOnStart = WaitOnStart.Continue)
 {
     log.Debug("Creating TaskManager");
     this.cancellation = cancellation ?? new Cancellation();
     this.waitOnStart  = waitOnStart;
 }