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