/// <summary> /// Checks to see if the top of the queue has changed. /// </summary> /// <returns>true or false</returns> public bool TopChanged() { if (top != previousTop) { previousTop = top; top = Registrants.Peek(); return(true); } return(false); }
/// <summary> /// Peeks this instance. /// </summary> /// <returns>Registrants.Peek()</returns> public Registrant Peek() { return(Registrants.Peek()); }