/// <summary> /// Removes the specified element. /// </summary> /// <param name="element">The element.</param> public void Remove(ScriptElement element) { if (this.BaseIndexOf(element) >= 0) { this.BaseRemove(element.Path); } }
/// <summary> /// Gets an item from the collection with a given index. /// </summary> /// <param name="element">The element.</param> /// <returns></returns> public int IndexOf(ScriptElement element) { return(this.BaseIndexOf(element)); }
/// <summary> /// Adds the specified element. /// </summary> /// <param name="element">The element.</param> public void Add(ScriptElement element) { this.BaseAdd(element); }