Пример #1
0
        private List <Page> GetPages()
        {
            List <Page> pages = new List <Page>();

            Chapters.ForEach(c => pages.AddRange(c.Pages));
            return(pages);
        }
Пример #2
0
        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();
        }
Пример #3
0
 private void Process()
 {
     Chapters.ForEach(c => c.Pages.ForEach(p => p.Process()));
 }