public TaskModel(JobModel parentJob, CloudTask task) { this.attemptToLoadOutputs = true; this.ParentJob = parentJob; this.Task = task; this.LastUpdatedTime = DateTime.UtcNow; this.SubtasksInfo = null; }
public TaskModel(JobModel parentJob, CloudTask task) { this.ParentJob = parentJob; this.Task = task; this.LastUpdatedTime = DateTime.UtcNow; }
public WorkItemModel(ICloudWorkItem workItem, ICloudJob mostRecentJob) { this.WorkItem = workItem; this.LastUpdatedTime = DateTime.UtcNow; // create a new job list and add the most recent job to the list JobModel recentJob = new JobModel(this, mostRecentJob); this.Jobs = new List<JobModel> { recentJob }; smallestJobId = WorkItemModel.GetJobNumberFromJobName(recentJob.Name); }
public TaskModel(JobModel parentJob, CloudTask task) { this.ParentJob = parentJob; this.Task = task; this.LastUpdatedTime = DateTime.UtcNow; this.SubtasksInfo = null; this.OutputFiles = task.ListNodeFiles(); }
public TaskModel(JobModel parentJob, CloudTask task) { this.ParentJob = parentJob; this.Task = task; this.LastUpdatedTime = DateTime.UtcNow; }