PadLeft<T>(T, int) Method
Sets the left padding.
public static T PadLeft<T>(this T obj, int left) where T : class, IPaddable
- Namespace
- Spectre
.Console - Containing Type
- PaddableExtensions
Parameters
-
T
- An object implementing
IPaddable
.
Parameters
- T obj
- The paddable object instance.
- int left
- The left padding.
Returns
- T