mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 08:52:50 +08:00
17 lines
477 B
C#
17 lines
477 B
C#
namespace Spectre.Console
|
|
{
|
|
/// <summary>
|
|
/// Represent a multi selection prompt item.
|
|
/// </summary>
|
|
/// <typeparam name="T">The data type.</typeparam>
|
|
public interface IMultiSelectionItem<T> : ISelectionItem<T>
|
|
where T : notnull
|
|
{
|
|
/// <summary>
|
|
/// Selects the item.
|
|
/// </summary>
|
|
/// <returns>The same instance so that multiple calls can be chained.</returns>
|
|
IMultiSelectionItem<T> Select();
|
|
}
|
|
}
|