public void AddRange(SearchItemInfoCollection value) { for (int i = 0; i <= value.Count - 1; i++) { Add((SearchItemInfo)value.List[i]); } }
public SearchItemInfoCollection(SearchItemInfoCollection value) : base() { AddRange(value); }
public SearchItemInfoCollection ModuleItems(int ModuleId) { SearchItemInfoCollection retValue = new SearchItemInfoCollection(); foreach (SearchItemInfo info in this) { if (info.ModuleId == ModuleId) { retValue.Add(info); } } return retValue; }