private void RenderFilesList(ScriptFilesComparerBase scriptFilesComparer) { _consoleProcessMessages.SetInfoMessage(""); _consoleProcessMessages.SetInfoMessage($"++ {scriptFilesComparer.ScriptFileType.FileTypeCode} Scripts:"); string captionsMessage = $"{" Status",-10} | File"; _consoleProcessMessages.SetInfoMessage(captionsMessage); string captionsLineMessage = "-".PadRight(55, '-'); _consoleProcessMessages.SetInfoMessage(captionsLineMessage); foreach (var file in scriptFilesComparer.AllFileSystemScriptFiles) { switch (file.HashDiffType) { case HashDiffType.Different: _consoleProcessMessages.SetInlineInfoMessage($" changed".PadRight(11), ConsoleColor.DarkRed); break; case HashDiffType.Equal: _consoleProcessMessages.SetInlineInfoMessage($" sync".PadRight(11), ConsoleColor.DarkGreen); break; case HashDiffType.EqualVirtual: _consoleProcessMessages.SetInlineInfoMessage($" sync vr".PadRight(11), ConsoleColor.DarkGreen); break; case HashDiffType.NotExist: default: _consoleProcessMessages.SetInlineInfoMessage($" ".PadRight(11), ConsoleColor.Gray); break; } _consoleProcessMessages.SetInlineInfoMessage($"| {file.Filename}", ConsoleColor.Gray); _consoleProcessMessages.SetInfoMessage(""); } }