Inheritance: IQuickDriveModeControl
Esempio n. 1
0
            protected override void Load(QuickDrive_Race.ViewModel.SaveableData o) {
                base.Load(o);

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

                var r = (SaveableData)result;
                r.PracticeLength = PracticeDuration;
                r.QualificationLength = QualificationDuration;
            }