public override void Load()
 {
     ClientsModel.Load();
     OptionsModel.Load();
     WebGenerationModel.Load();
     WebVisualStylesModel.Load();
     ReportingModel.Load();
     WebProxyModel.Load();
 }
 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);
 }
 public override bool ValidateAcceptance()
 {
     OnPropertyChanged(String.Empty);
     ClientsModel.ValidateAcceptance();
     OptionsModel.ValidateAcceptance();
     WebGenerationModel.ValidateAcceptance();
     WebVisualStylesModel.ValidateAcceptance();
     ReportingModel.ValidateAcceptance();
     WebProxyModel.ValidateAcceptance();
     return(!HasError);
 }
        public override void Save()
        {
            ClientsModel.Save();
            OptionsModel.Save();
            WebGenerationModel.Save();
            WebVisualStylesModel.Save();
            ReportingModel.Save();
            WebProxyModel.Save();

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