/// <summary> /// /// </summary> /// <param name="index"></param> /// <param name="item"></param> public void Insert(int index, ConfigurationAttribute item) { ICollection <ConfigurationAttribute> collection = _nameIndex; collection.Add(item); _listIndex.Insert(index, item); }
internal void Insert(int index, ConfigurationNode item) { var where = _collection.Indexes.Where(current => current != _listIndex); _listIndex.Insert(index, item); foreach (var current in where) { current.Add(item); } }