/// <summary> /// Removes an element from the collection /// </summary> /// <param name="element">The element to be removed</param> public void Remove(RoutingRuleElement element) { int idx = BaseIndexOf(element); if (idx > 0) { BaseRemoveAt(idx); } }
/// <summary> /// Adds an element to the collection /// </summary> /// <param name="element">The element to be added</param> public void Add(RoutingRuleElement element) { BaseAdd(element); }
/// <summary> /// Retrieves the Index of an element in the collection /// </summary> /// <param name="element">The element</param> /// <returns>An intenger with the index of the given element</returns> public int IndexOf(RoutingRuleElement element) { return(BaseIndexOf(element)); }