SelectionMode Enum
Represents how selections are made in a hierarchical prompt.
public enum SelectionMode
- Namespace
- Spectre
.Console - Interfaces
-
- IComparable
- ISpanFormattable
- IFormattable
- IConvertible
- Base Types
-
- ValueType
- Enum
Fields
-
0
- Will only return lead nodes in results.
- Allows selection of parent nodes, but each node is independent of its parent and children.
Extension Methods
-
T And
< Selection Mode> (Action < Selection Mode> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.