internal void EnqueueInsert(int index, T item) { EnqueueEvent(PendingEvent.Insert(index, item)); }
private void EnqueueEvent(PendingEvent <T> @event) { _pendingEvents.Enqueue(@event); ProcessPendingEventsOrDispatch(); }
internal void EnqueueClear() { EnqueueEvent(PendingEvent.Clear <T>()); }
internal void EnqueueRemoveAt(int index) { EnqueueEvent(PendingEvent.RemoveAt <T>(index)); }
internal bool EnqueueRemove(T item) { EnqueueEvent(PendingEvent.Remove(item)); return(true); }
internal void EnqueueAdd(T item) { EnqueueEvent(PendingEvent.Add(item)); }
internal void EnqueueReplace(int index, T value) { EnqueueEvent(PendingEvent.Replace(index, value)); }