IMultiSelectionItem<T> Interface
Represent a multi selection prompt item.
public interface IMultiSelectionItem<T> : ISelectionItem<T> where T : notnull
- Namespace
- Spectre
.Console - Interfaces
Parameters
-
T
- The data type.
Properties
- abstract bool IsSelected
- Gets a value indicating whether or not this item is selected.
Methods
-
abstract IMultiSelectionItem<T> Select
() - Selects the item.
Extension Methods
-
T And
< I Multi Selection Item <T> > (Action < I Multi Selection Item <T> > ) - 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.