
КОД
Код: Выделить всё
// Extract task details from the JSON output
var tasks = JsonConvert.DeserializeObject(jsonOutput);
// Filter tasks with empty items
var emptyTasks = tasks.Where(task => task.Items.Length == 0)
.Select(task => new TaskWithArea(task, area.Name))
.ToList();
// Create the Graphviz graph and save as SVG
CreateGraph(jsonOutput, $"{area.Name}.svg");
return emptyTasks;
Подробнее здесь: https://stackoverflow.com/questions/792 ... ndentation
Мобильная версия