Collapse<T>(T) Method
Tells the specified object to not expand to the available area
but take as little space as possible.
public static T Collapse<T>(this T obj) where T : class, IExpandable
- Namespace
- Spectre
.Console - Containing Type
- ExpandableExtensions
Parameters
-
T
- The expandable object.
Parameters
- T obj
- The object to collapse.
Returns
- T