Example #1
0
 public override void Load()
 {
     ClientsModel.Load();
     OptionsModel.Load();
     WebGenerationModel.Load();
     WebVisualStylesModel.Load();
     ReportingModel.Load();
     WebProxyModel.Load();
 }
Example #2
0
 public PreferencesModel(IPreferences preferences, IAutoRunConfiguration autoRunConfiguration)
 {
     Preferences          = preferences ?? new InMemoryPreferencesProvider();
     ClientsModel         = new ClientsModel(Preferences);
     OptionsModel         = new OptionsModel(Preferences, autoRunConfiguration);
     WebGenerationModel   = new WebGenerationModel(Preferences);
     WebVisualStylesModel = new WebVisualStylesModel(Preferences);
     ReportingModel       = new ReportingModel(Preferences);
     WebProxyModel        = new WebProxyModel(Preferences);
 }
Example #3
0
 public override bool ValidateAcceptance()
 {
     OnPropertyChanged(String.Empty);
     ClientsModel.ValidateAcceptance();
     OptionsModel.ValidateAcceptance();
     WebGenerationModel.ValidateAcceptance();
     WebVisualStylesModel.ValidateAcceptance();
     ReportingModel.ValidateAcceptance();
     WebProxyModel.ValidateAcceptance();
     return(!HasError);
 }
Example #4
0
        public override void Save()
        {
            ClientsModel.Save();
            OptionsModel.Save();
            WebGenerationModel.Save();
            WebVisualStylesModel.Save();
            ReportingModel.Save();
            WebProxyModel.Save();

            Preferences.Save();
            OptionsModel.SaveAutoRunConfiguration();
        }