We happy? We happy. Thanks ReSharper

This commit is contained in:
2023-05-20 01:06:12 +02:00
parent 9d104b25f8
commit 08e0fe7c71
4 changed files with 9 additions and 1 deletions

View File

@ -130,6 +130,7 @@ public static class Tranga_Cli
selection = Console.ReadKey().Key;
taskManager.Shutdown(selection == ConsoleKey.Y);
}else
// ReSharper disable once RedundantArgumentDefaultValue Better readability
taskManager.Shutdown(false);
}
@ -160,7 +161,7 @@ public static class Tranga_Cli
int tIndex = 0;
Console.WriteLine($"Tasks (Running/Total): {taskRunningCount}/{taskCount}");
foreach(TrangaTask trangaTask in tasks)
Console.WriteLine($"{tIndex++:000}: {trangaTask.ToString()}");
Console.WriteLine($"{tIndex++:000}: {trangaTask}");
}
private static void ExecuteTaskNow(TaskManager taskManager)