public void AddRange(IEnumerable <CustomItem> values) { foreach (var value in values) { SectionItems.Add(value); } Update(); }
public void Add(string itemKey, string itemValue) { var item = new CustomItem(); item.ItemKey = itemKey; item.ItemValue = itemValue; SectionItems.Add(item); Update(); }