private List <Page> GetPages() { List <Page> pages = new List <Page>(); Chapters.ForEach(c => pages.AddRange(c.Pages)); return(pages); }
private void UpdateMarkers() { var markers = new List <MediaMarker>(); if (TimelineMarkers != null) { TimelineMarkers.ForEach(markers.Add); } if (Chapters != null) { Chapters.ForEach(markers.Add); } Markers = markers.ToObservableCollection(); }
private void Process() { Chapters.ForEach(c => c.Pages.ForEach(p => p.Process())); }