public override ISimpleTask Clone() { var clone = new CountTask(Type); clone.Copy(this); return(clone); }
public void WaitSingleTask() { var task = new CountTask(); taskManager.Schedule(task); task.Wait(); Assert.AreEqual(1000, task.Count); }