Exemple #1
0
        /// <summary>
        /// Instantiates a <see cref="YqlUrlProvider"/>
        /// </summary>
        /// <param name="settings"></param>
        /// <param name="queryProvider"></param>
        public YqlUrlProvider(IYahooMarketDataSettings settings, IYqlQueryProvider queryProvider)
        {
            if (settings == null)
                throw new ArgumentNullException("settings");
            if (queryProvider == null)
                throw new ArgumentNullException("queryProvider");

            _settings = settings;
            _queryProvider = queryProvider;
        }
Exemple #2
0
        /// <summary>
        /// Instantiates a <see cref="YqlUrlProvider"/>
        /// </summary>
        /// <param name="settings"></param>
        /// <param name="queryProvider"></param>
        public YqlUrlProvider(IYahooMarketDataSettings settings, IYqlQueryProvider queryProvider)
        {
            if (settings == null)
            {
                throw new ArgumentNullException("settings");
            }
            if (queryProvider == null)
            {
                throw new ArgumentNullException("queryProvider");
            }

            _settings      = settings;
            _queryProvider = queryProvider;
        }