Beispiel #1
0
        /// <summary>
        /// Adds the next task to this instance.
        /// </summary>
        /// <param name="name">user-defined name of task</param>
        /// <returns>the added task, providing detailed configuration</returns>
        public DSETask AddTask(string name)
        {
            var task = new DSETask(name);

            _tasks.Add(task);
            return(task);
        }
 /// <summary>
 /// Adds the next task to this instance.
 /// </summary>
 /// <param name="name">user-defined name of task</param>
 /// <returns>the added task, providing detailed configuration</returns>
 public DSETask AddTask(string name)
 {
     var task = new DSETask(name);
     _tasks.Add(task);
     return task;
 }