/// <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); } }
/// <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); }
/// <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)); }