예제 #1
0
        public virtual void UpdateTask(ScheduleTask task)
        {
            if (task == null)
                throw new ArgumentNullException("task");

            _taskRepository.Update(task);
        }
예제 #2
0
파일: Task.cs 프로젝트: pcurich/ViccosLite
 public Task(ScheduleTask task)
 {
     Type = task.Type;
     Enabled = task.Enabled;
     StopOnError = task.StopOnError;
     Name = task.Name;
 }