/// <summary> /// Concatenates line-list items. /// </summary> public static IEnumerable <LineListItem> Concat(this LineListItem first, IEnumerable <LineListItem> second) => second.Prepend(first);
/// <summary> /// Returns a sequence of two line-list items. /// </summary> public static IEnumerable <LineListItem> Append(this LineListItem first, LineListItem second) => Enumerable.Empty <LineListItem>().Append(first).Append(second);
/// <summary> /// Returns a sequence of two line-list items. /// </summary> public static IEnumerable <LineListItem> AppendLineListItem(this ComponentListItem item, LineListItem lineListItem) => ((LineListItem)item).Append(lineListItem);