private static IsColorChange ( ConsoleOutputColor targetColor, ConsoleColor oldColor ) : bool | ||
targetColor | ConsoleOutputColor | |
oldColor | ConsoleColor | |
return | bool |
private static bool IsColorChange(ConsoleOutputColor targetColor, ConsoleColor oldColor)
{
return (targetColor != ConsoleOutputColor.NoChange) && ((ConsoleColor)targetColor != oldColor);
}