Adds a new task to the graph. The type of the task. The created task.
()
| 60 | /// <typeparam name="T">The type of the task.</typeparam> |
| 61 | /// <returns>The created task.</returns> |
| 62 | public T Add<T>() where T : Task, new() |
| 63 | { |
| 64 | var task = new T(); |
| 65 | Tasks.Add(task); |
| 66 | return task; |
| 67 | } |
| 68 | |
| 69 | /// <summary> |
| 70 | /// Adds a new task to the graph that copies a file. |
no outgoing calls
no test coverage detected