/// <summary> /// Inserts the specified element to the front of this queue. /// </summary> /// <seealso cref="Add"/> public virtual bool AddHead(object obj) { lock (this) { ElementList.Insert(0, obj); Monitor.Pulse(this); return(true); } }
public void Insert(int index, IWebElement item) { ElementList.Insert(index, item); }