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;
        }
Ejemplo n.º 2
0
        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;
        }