This project has moved. For the latest updates, please go here.

Easy way to retrieve all tasks

Topics: Examples
Dec 8, 2015 at 7:01 PM
Is there an easy way to retrieve all tasks (regardless of whether they are active or not)? I've seen the sample:

TaskService ts = new TaskService();
var allTasks = ts.FindAllTasks(x => x.IsActive);

But, that only returns active. I've tried to change the argument, but FindAllTasks requires an argument. As a work-around, I'm using:

TaskService ts2 = new TaskService();
var allTasks = ts2.FindAllTasks(x => x.Xml != "");

Is there a better way to do this?
Coordinator
Dec 8, 2015 at 9:57 PM
Edited Dec 11, 2015 at 8:34 PM
TaskService ts2 = new TaskService(); 
 var allTasks = ts2.AllTasks;
Marked as answer by dahall on 12/11/2015 at 1:34 PM