protected override void Load(QuickDrive_Race.ViewModel.SaveableData o) { base.Load(o); var r = (SaveableData)o; PracticeDuration = r.PracticeLength ?? 15; QualificationDuration = r.QualificationLength ?? 30; }
protected override void Save(QuickDrive_Race.ViewModel.SaveableData result) { base.Save(result); var r = (SaveableData)result; r.PracticeLength = PracticeDuration; r.QualificationLength = QualificationDuration; }