public void AssociateTaskFromRun(TaskRunEntity run)
 {
     if (Task == null)
     {
         Task = AppTaskBuilder.BuildTaskFromRun(run);
     }
 }
Exemple #2
0
        internal void EnsureTaskHandleCreated(TaskRunEntity run)
        {
            if (run.Task != null)
            {
                return;
            }

            // Re-create the task from the run entity
            AppTask task = AppTaskBuilder.BuildTaskFromRun(run);

            run.Task = task;
        }