namespace Spectre.Console { /// /// Represent a selection item. /// /// The data type. public interface ISelectionItem where T : notnull { /// /// Adds a child to the item. /// /// The child to add. /// A new instance representing the child. ISelectionItem AddChild(T child); } }