Example #1
0
 public TaskExecuteEventArgs(Task currentTask)
 {
     mCurrentTask = currentTask;
 }
Example #2
0
 public TaskEventArgs(Task task)
 {
     mTask = task;
 }
Example #3
0
        private Task BuildTask(XPathNavigator taskNavigator)
        {
            Task newTask = new Task();

            //select and construct behavior
            foreach (XPathNavigator behaviorNavigator in taskNavigator.Select("task:Behavior", mXmlNamespaceManager))
            {
                Behavior behavior=BuidBehavior(behaviorNavigator);

                newTask.Add(behavior);
            }

            return newTask;
        }