#nullable enable namespace Terminal.Gui; /// /// Describes a sequence of chars (and optionally T metadata) accumulated /// by an /// internal interface IHeld { /// /// Clears all held objects /// void ClearHeld (); /// /// Returns string representation of the held objects /// /// string? HeldToString (); /// /// Returns the collection objects directly e.g. /// or + metadata T /// /// IEnumerable HeldToObjects (); /// /// Adds the given object to the collection. /// /// void AddToHeld (object o); int Length { get; } }