Beispiel #1
0
 /// <summary>Returns a <see cref="ColorToken"/> with foreground color set to White</summary>
 public static ColorToken White(this ColorToken token)
 {
     return(token.Color(ConsoleColor.White));
 }
Beispiel #2
0
 /// <summary>Returns a <see cref="ColorToken"/> with foreground color set to Yellow</summary>
 public static ColorToken Yellow(this ColorToken token)
 {
     return(token.Color(ConsoleColor.Yellow));
 }
Beispiel #3
0
 /// <summary>Returns a <see cref="ColorToken"/> with foreground color set to Magenta</summary>
 public static ColorToken Magenta(this ColorToken token)
 {
     return(token.Color(ConsoleColor.Magenta));
 }
Beispiel #4
0
 /// <summary>Returns a <see cref="ColorToken"/> with foreground color set to Red</summary>
 public static ColorToken Red(this ColorToken token)
 {
     return(token.Color(ConsoleColor.Red));
 }
Beispiel #5
0
 /// <summary>Returns a <see cref="ColorToken"/> with foreground color set to Green</summary>
 public static ColorToken Green(this ColorToken token)
 {
     return(token.Color(ConsoleColor.Green));
 }
Beispiel #6
0
 /// <summary>Returns a <see cref="ColorToken"/> with foreground color set to DarkGray</summary>
 public static ColorToken DarkGray(this ColorToken token)
 {
     return(token.Color(ConsoleColor.DarkGray));
 }
Beispiel #7
0
 /// <summary>Returns a <see cref="ColorToken"/> with foreground color set to DarkBlue</summary>
 public static ColorToken DarkBlue(this ColorToken token)
 {
     return(token.Color(ConsoleColor.DarkBlue));
 }
Beispiel #8
0
 /// <summary>Returns a <see cref="ColorToken"/> with foreground color set to Cyan</summary>
 public static ColorToken Cyan(this ColorToken token)
 {
     return(token.Color(ConsoleColor.Cyan));
 }
Beispiel #9
0
 /// <summary>Returns a <see cref="ColorToken"/> with foreground color set to Black</summary>
 public static ColorToken Black(this ColorToken token)
 {
     return(token.Color(ConsoleColor.Black));
 }