Beispiel #1
0
 /// <summary>
 /// Cancels the running task.
 /// </summary>
 public void Cancel()
 {
     ActionSchedulerViewModel.GetInstance().CancelAction(this);
 }
Beispiel #2
0
 /// <summary>
 /// Starts the repeated task.
 /// </summary>
 public void Begin()
 {
     ActionSchedulerViewModel.GetInstance().ScheduleAction(this, this.OnBegin, this.OnUpdate, this.OnEnd);
 }