Ellipsis<T>(T) Method
Crops any overflowing text and adds an ellipsis to the end.
public static T Ellipsis<T>(this T obj) where T : class, IOverflowable
- Namespace
- Spectre
.Console - Containing Type
- Overflowable
Extensions
Parameters
-
T
- An object implementing
IOverflowable
.
Parameters
- T obj
- The overflowable object instance.
Returns
- T