public TaskData(string name, Task task, SubBots.Method method) { this.name = name; this.task = task; this.method = method; this.stopwatch = new Stopwatch(); stopwatch.Start(); }