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 OptionsModel(IPreferences preferences, IAutoRunConfiguration autoRunConfiguration) { Preferences = preferences ?? new InMemoryPreferencesProvider(); AutoRunConfiguration = autoRunConfiguration ?? new InMemoryAutoRunConfiguration(); }