public override void ExecuteCommand(ShellCommandInfo commandInfo) { if (!commands.IsEmpty) { int maxLength = commands.Keys.OrderByDescending(i => i.Length).First().Length; foreach (var key in commands.Keys.OrderBy(i => i)) { ConsoleLogger.InfoFormat("{0}\t\t{1}", key.PadRight(maxLength, ' '), commands[key].Description); } } }
public override void ExecuteCommand(ShellCommandInfo commandInfo) { Console.Clear(); }
public override void ExecuteCommand(ShellCommandInfo commandInfo) { throw new InterruptedException(); }