Beispiel #1
0
 public void Remove(WebDataSourceItem item)
 {
     if (item != null)
     {
         item.SetCollection(null);
     }
     list.Remove(item);
 }
Beispiel #2
0
 public void Insert(int index, WebDataSourceItem item)
 {
     if (item != null)
     {
         item.SetCollection(this);
     }
     list.Insert(index, item);
 }
Beispiel #3
0
 public bool Contains(WebDataSourceItem item)
 {
     return list.Contains(item);
 }
Beispiel #4
0
 public int IndexOf(WebDataSourceItem item)
 {
     return list.IndexOf(item);
 }
Beispiel #5
0
 /// <summary>
 /// Add a webdatasource item to collection
 /// </summary>
 /// <param name="item">field item</param>
 /// <returns>index of item</returns>
 public int Add(WebDataSourceItem item)
 {
     if (item != null)
     {
         item.SetCollection(this);
     }
     return list.Add(item);
 }