/// <summary>Clears all items then adds all items from <param name="log">the log</param></summary> public void ImportData(NavigationLog log) { HistoryItemsList.Clear(); HistoryItemsList.AddRange(log.HistoryItemsList); CurrentLocPos = HistoryItemsList.LastIndexOf(log.CurrentLocation); }
/// <summary>Removes any Items Forward of the current position</summary> public void ClearForwardItems() { ForwardEntries.ForEach(item => HistoryItemsList.Remove(item)); }