Пример #1
0
        protected override SettingControlViewModel[] InitializeSettingViewModels()
        {
            AudioUriVm             = new SettingAudioUriViewModel();
            ReviewPlayAudioVm      = new SettingReviewPlayAudio();
            AudioVolumeVm          = new SettingAudioVolumeViewModel();
            VocabPerPageVm         = new SettingVocabPerPageViewModel();
            CollapseMeaningLimitVm = new SettingCollapseMeaningLimitViewModel();
            VocabInfoVm            = new SettingVocabInfoViewModel();
            SrsQuickDelayVm        = new SettingSrsQuickDelayViewModel();

            return(new SettingControlViewModel[]
            {
                AudioUriVm,
                ReviewPlayAudioVm,
                AudioVolumeVm,
                VocabPerPageVm,
                CollapseMeaningLimitVm,
                VocabInfoVm,
                SrsQuickDelayVm
            });
        }
        protected override SettingControlViewModel[] InitializeSettingViewModels()
        {
            AudioUriVm = new SettingAudioUriViewModel();
            ReviewPlayAudioVm = new SettingReviewPlayAudio();
            AudioVolumeVm = new SettingAudioVolumeViewModel();
            VocabPerPageVm = new SettingVocabPerPageViewModel();
            CollapseMeaningLimitVm = new SettingCollapseMeaningLimitViewModel();
            VocabInfoVm = new SettingVocabInfoViewModel();
            SrsQuickDelayVm = new SettingSrsQuickDelayViewModel();

            return new SettingControlViewModel[]
            {
                AudioUriVm,
                ReviewPlayAudioVm,
                AudioVolumeVm,
                VocabPerPageVm,
                CollapseMeaningLimitVm,
                VocabInfoVm,
                SrsQuickDelayVm
            };
        }