public PlsSegmentManagerFactory(IWebReaderManager webReaderManager, IPlsSegmentManagerPolicy plsSegmentManagerPolicy, IRetryManager retryManager) { if (null == webReaderManager) throw new ArgumentNullException(nameof(webReaderManager)); if (null == plsSegmentManagerPolicy) throw new ArgumentNullException(nameof(plsSegmentManagerPolicy)); if (null == retryManager) throw new ArgumentNullException(nameof(retryManager)); _webReaderManager = webReaderManager; _plsSegmentManagerPolicy = plsSegmentManagerPolicy; _retryManager = retryManager; }
public PlsSegmentManagerFactory(IWebReaderManager webReaderManager, IPlsSegmentManagerPolicy plsSegmentManagerPolicy, IRetryManager retryManager) { if (null == webReaderManager) { throw new ArgumentNullException("webReaderManager"); } if (null == plsSegmentManagerPolicy) { throw new ArgumentNullException("plsSegmentManagerPolicy"); } if (null == retryManager) { throw new ArgumentNullException("retryManager"); } this._webReaderManager = webReaderManager; this._plsSegmentManagerPolicy = plsSegmentManagerPolicy; this._retryManager = retryManager; }
public PlsSegmentManagerFactory(IWebReaderManager webReaderManager, IPlsSegmentManagerPolicy plsSegmentManagerPolicy, IRetryManager retryManager) { if (null == webReaderManager) { throw new ArgumentNullException(nameof(webReaderManager)); } if (null == plsSegmentManagerPolicy) { throw new ArgumentNullException(nameof(plsSegmentManagerPolicy)); } if (null == retryManager) { throw new ArgumentNullException(nameof(retryManager)); } _webReaderManager = webReaderManager; _plsSegmentManagerPolicy = plsSegmentManagerPolicy; _retryManager = retryManager; }