using System.Collections.Generic; using KamiLib.Interfaces; namespace KamiLib.Drawing; public class InfoBoxList : DrawList { private readonly InfoBox owner; public InfoBoxList(InfoBox owner) { this.owner = owner; DrawListOwner = this; } public InfoBox EndList() { foreach (var row in DrawActions) { owner.AddAction(row); } return owner; } public InfoBoxList AddRows(IEnumerable rows) { foreach (var row in rows) { row.GetConfigurationRow(this); } return this; } }