示例#1
0
        public void AddRange(IEnumerable <CustomItem> values)
        {
            foreach (var value in values)
            {
                SectionItems.Add(value);
            }

            Update();
        }
示例#2
0
        public void Add(string itemKey, string itemValue)
        {
            var item = new CustomItem();

            item.ItemKey   = itemKey;
            item.ItemValue = itemValue;
            SectionItems.Add(item);

            Update();
        }