public ClassDetailsViewModel(ClassViewModel parent) : base(parent)
        {
            _detailsPropertyWatcher = new BindablePropertyWatcher(parent.ViewItemsGroupClass.Class, nameof(ViewItemClass.Details), delegate
            {
                Details = parent.ViewItemsGroupClass.Class.Details;
            });

            Details = parent.ViewItemsGroupClass.Class.Details;
        }
 public BaseClassContentViewModel(ClassViewModel parent) : base(parent)
 {
     ClassViewModel = parent;
 }
 public ClassTasksOrEventsViewModel(ClassViewModel parent, TaskOrEventType type) : base(parent)
 {
     Type = type;
 }
Esempio n. 4
0
 /// <summary>
 /// Opens the list view for editing all the class grade options.
 /// </summary>
 public void ConfigureGrades()
 {
     ClassViewModel.ConfigureGrades();
 }
Esempio n. 5
0
 public ClassGradesViewModel(ClassViewModel parent) : base(parent)
 {
 }
 public ClassTimesViewModel(ClassViewModel parent) : base(parent)
 {
     TimesGroupedByDay = GenerateGroups(parent.ViewItemsGroupClass.Class.Schedules);
 }
Esempio n. 7
0
 public ClassHomeworkOrExamsViewModel(ClassViewModel parent, ItemType type) : base(parent)
 {
     Type = type;
 }