public PackageRestoreConsent(ISettings settings, IEnvironmentVariableReader environmentReader, ConfigurationDefaults configurationDefaults) { if (settings == null) { throw new ArgumentNullException("settings"); } if (environmentReader == null) { throw new ArgumentNullException("environmentReader"); } if (configurationDefaults == null) { throw new ArgumentNullException("configurationDefaults"); } _settings = settings; _environmentReader = environmentReader; _configurationDefaults = configurationDefaults; }