BorderColor<T>(T, Color) Method
Sets the border color.
public static T BorderColor<T>(this T obj, Color color) where T : class, IHasBorder
- Namespace
- Spectre
.Console - Containing Type
- HasBorderExtensions
Parameters
-
T
- An object type with a border.
Parameters
- T obj
- The object to set the border color for.
- Color color
- The border color to set.
Returns
- T