Alignment<T>(T, Justify?) Method
Sets the alignment for an
IAlignable
object.
public static T Alignment<T>(this T obj, Justify? alignment) where T : class, IAlignable
- Namespace
- Spectre
.Console - Containing Type
- AlignableExtensions
Parameters
-
T
- The alignable object type.
Parameters
- T obj
- The alignable object.
- Justify? alignment
- The alignment.
Returns
- T