public RESTBasedSystemInformationSender(IRESTBasedSystemInformationSenderConfigurationProvider systemInformationSenderConfigurationProvider, IRESTClientFactory restClientFactory, IRESTRequestFactory requestFactory) { if (systemInformationSenderConfigurationProvider == null) { throw new ArgumentNullException("systemInformationSenderConfigurationProvider"); } if (restClientFactory == null) { throw new ArgumentNullException("restClientFactory"); } if (requestFactory == null) { throw new ArgumentNullException("requestFactory"); } this.systemInformationSenderConfigurationProvider = systemInformationSenderConfigurationProvider; this.restClientFactory = restClientFactory; this.requestFactory = requestFactory; }
public RESTBasedSystemInformationSender(IRESTBasedSystemInformationSenderConfigurationProvider systemInformationSenderConfigurationProvider, IRESTClientFactory restClientFactory, IRESTRequestFactory requestFactory) { if (systemInformationSenderConfigurationProvider == null) { throw new ArgumentNullException("systemInformationSenderConfigurationProvider"); } if (restClientFactory == null) { throw new ArgumentNullException("restClientFactory"); } if (requestFactory == null) { throw new ArgumentNullException("requestFactory"); } this.systemInformationSenderConfigurationProvider = systemInformationSenderConfigurationProvider; this.restClientFactory = restClientFactory; this.requestFactory = requestFactory; }