Пример #1
0
 /// <summary>
 /// <c>Remove</c> removes <c>dataServiceElement</c> from the collection
 /// of data sources in this class.
 /// </summary>
 /// <param name="dataServiceElement">The <c>DataSourceElement</c> being removed from the
 /// data sources in this class instance</param>
 public void Remove(DataSourceElement dataServiceElement)
 {
     if (BaseIndexOf(dataServiceElement) >= 0)
     {
         BaseRemove(dataServiceElement.Name);
     }
 }
Пример #2
0
 /// <summary>
 /// <c>Add</c> adds <c>dataServiceElement</c> to the collection of
 /// data sources in this class
 /// </summary>
 /// <param name="dataServiceElement">The <c>DataSourceElement</c> being added to the
 /// data sources in this class</param>
 public void Add(DataSourceElement dataServiceElement)
 {
     BaseAdd(dataServiceElement);
 }
Пример #3
0
 /// <summary>
 /// Returns the index of <c>dataServiceElement</c>
 /// </summary>
 /// <param name="dataServiceElement">the <c>DataSourceElement</c>
 /// for which the returned index will be returned</param>
 /// <returns>the index of <c>dataServiceElement</c></returns>
 public int IndexOf(DataSourceElement dataServiceElement)
 {
     return(BaseIndexOf(dataServiceElement));
 }