public override bool Equals(object obj) { if (obj is DataIndex) { DataIndex index = (DataIndex)obj; return(this.indexName.Equals(index.indexName)); } return(false); }
/// <summary> /// Removes a FluidTrade.Core.DataIndex from the collection. /// </summary> /// <param name="dataIndex">The index to be removed from the collection.</param> public void Remove(DataIndex dataIndex) { // The list is used for iteration, the table is used for fast access. this.arrayList.Remove(dataIndex); this.hashTable.Remove(dataIndex.IndexName); }