private void ScheduleChanges(IJavascriptUIContextUpdater uiContextUpdater) { _JsUpdaterFactory.CheckUiContext(); Enqueue(uiContextUpdater); if (_ReplayMode != ReplayMode.NoReplayScheduled) { return; } _ReplayMode = ReplayMode.ReplayScheduled; _JsUpdaterFactory.DispatchInUiContextBindingPriority(ReplayChanges); }
private void Enqueue(IJavascriptUIContextUpdater uiContextUpdater) { _Last = new Chained <IJavascriptUIContextUpdater>(uiContextUpdater, _Last); _First = _First ?? _Last; }