Ejemplo n.º 1
0
 private void ReplaceDay(OneDayContemplationVM target, OneDayContemplation source)
 {
     target.Day = source.Day;
     target.DayDescription = source.DayDescription;
     target.Title = source.Title;
     target.ReadingReference = source.ReadingReference;
     target.ReadingText = source.ReadingText;
     target.Contemplation1 = source.Contemplation1;
     target.Contemplation2 = source.Contemplation2;
     target.Contemplation3 = source.Contemplation3;
     target.Contemplation4 = source.Contemplation4;
     target.Contemplation5 = source.Contemplation5;
     target.Contemplation6 = source.Contemplation6;
     target.Prayer = source.Prayer;
 }
Ejemplo n.º 2
0
        private void InitiateData()
        {
            lectioDivinaWeek = dataService.Load();

            TitlePage = new TitlePageVM(lectioDivinaWeek.Title);

            Sunday = new OneDayContemplationVM(lectioDivinaWeek.Sunday);
            Monday = new OneDayContemplationVM(lectioDivinaWeek.Monday);
            Tuesday = new OneDayContemplationVM(lectioDivinaWeek.Tuesday);
            Wednesday = new OneDayContemplationVM(lectioDivinaWeek.Wednesday);
            Thursday = new OneDayContemplationVM(lectioDivinaWeek.Thursday);
            Friday = new OneDayContemplationVM(lectioDivinaWeek.Friday);
            Saturday = new OneDayContemplationVM(lectioDivinaWeek.Saturday);

            RefreshTargetFileProperty();

            IsDirty = false;
        }