コード例 #1
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);
 }
コード例 #2
0
 public OptionsModel(IPreferences preferences, IAutoRunConfiguration autoRunConfiguration)
 {
     Preferences          = preferences ?? new InMemoryPreferencesProvider();
     AutoRunConfiguration = autoRunConfiguration ?? new InMemoryAutoRunConfiguration();
 }