Ejemplo n.º 1
0
 public void SetStyle(ConsoleStyle style)
 {
     if (style.ForegroundColor.HasValue)
         Console.ForegroundColor = style.ForegroundColor.Value;
     if (style.BackgroundColor.HasValue)
         Console.BackgroundColor = style.BackgroundColor.Value;
 }
Ejemplo n.º 2
0
 public void SetStyle(ConsoleStyle style)
 {
     if (style.ForegroundColor.HasValue)
     {
         Console.ForegroundColor = style.ForegroundColor.Value;
     }
     if (style.BackgroundColor.HasValue)
     {
         Console.BackgroundColor = style.BackgroundColor.Value;
     }
 }
Ejemplo n.º 3
0
 public void SetStyle(ConsoleStyle style)
 {
 }