/// <summary> /// Adds the DealProviderElement to the collection. /// </summary> /// <param name="ruleProvider">DealProviderElement to add to the collection</param> public void Add(DealProviderElement ruleProvider) { BaseAdd(ruleProvider); }
/// <summary> /// Returns the index of the DealProviderElement. /// </summary> /// <param name="ruleProvider">DealProviderElement to look for</param> /// <returns>Index of the DealProviderElement requested</returns> public int IndexOf(DealProviderElement ruleProvider) { return BaseIndexOf(ruleProvider); }
/// <summary> /// Removes RuleProvider from the collection /// </summary> /// <param name="dealProvider">RuleProvider to remove</param> public void Remove(DealProviderElement dealProvider) { if (BaseIndexOf(dealProvider) >= 0) { BaseRemove(dealProvider.Name); } }