Centered<T>(T) Method
Sets the
IAlignable
object to be centered.
public static T Centered<T>(this T obj) where T : class, IAlignable
- Namespace
- Spectre
.Console - Containing Type
- AlignableExtensions
Parameters
-
T
- The alignable type.
Parameters
- T obj
- The alignable object.
Returns
- T