public void Print(bool AvoidKeep)
{
if (AvoidKeep && Action == ActionEnum.Keep) return;
ConsoleColor Color;
switch (Action)
{
case ActionEnum.Keep: Color = ConsoleColor.White; break;
case ActionEnum.Delete: Color = ConsoleColor.Red; break;
case ActionEnum.Insert: Color = ConsoleColor.DarkRed; break;
default: throw (new NotImplementedException());
}
ConsoleUtils.SaveRestoreConsoleColor(Color, () =>
{
Console.WriteLine("{0}", this);
});
}