예제 #1
0
        public object SsqConstructorRegExMinTest(Provider provider)
        {
            string url          = provider.Url.OriginalString;
            string regExPattern = provider.RegExPattern;
            Ssq    ssq          = new Ssq(url, regExPattern: regExPattern, parser: Parser);

            return(ssq.Q(provider.IsinTickerWkn));
        }
예제 #2
0
        public object SsqConstructorXPathMinTest(Provider provider)
        {
            string url   = provider.Url.OriginalString;
            string xPath = provider.XPath;
            Ssq    ssq   = new Ssq(url, xPath, parser: Parser);

            return(ssq.Q(provider.IsinTickerWkn));
        }
예제 #3
0
        public object SsqConstructorXPathTest(Provider provider)
        {
            string udfName = provider.UdfName;
            string url     = provider.Url.OriginalString;
            string stockIdentifierPlaceholder = provider.StockIdentifierPlaceholder;
            string xPath  = provider.XPath;
            string locale = provider.Locale;
            Ssq    ssq    = new Ssq(url, xPath, stockIdentifierPlaceholder: stockIdentifierPlaceholder, locale: locale, parser: Parser, udfName: udfName);

            return(ssq.Q(provider.IsinTickerWkn));
        }
예제 #4
0
        public object SsqPropertyXPathTest(Provider provider)
        {
            Ssq ssq = new Ssq(provider.UdfName)
            {
                Url = provider.Url.OriginalString,
                StockIdentifierPlaceholder = provider.StockIdentifierPlaceholder,
                XPath   = provider.XPath,
                Culture = System.Globalization.CultureInfo.CurrentCulture,
                Parser  = Parser
            };

            return(ssq.Q(provider.IsinTickerWkn));
        }
예제 #5
0
        public object SsqPropertyRegExTest(Provider provider)
        {
            Ssq ssq = new Ssq(provider.UdfName)
            {
                Url = provider.Url.OriginalString,
                StockIdentifierPlaceholder = provider.StockIdentifierPlaceholder,
                RegExPattern    = provider.RegExPattern,
                RegExGroupName  = provider.RegExGroupName,
                RegExMatchIndex = provider.RegExMatchIndex,
                Culture         = System.Globalization.CultureInfo.CurrentCulture,
                Parser          = Parser
            };

            return(ssq.Q(provider.IsinTickerWkn));
        }
예제 #6
0
        public object SsqConstructorRegExTest(Provider provider)
        {
            string udfName = provider.UdfName;
            string url     = provider.Url.OriginalString;
            string stockIdentifierPlaceholder = provider.StockIdentifierPlaceholder;
            string regExPattern    = provider.RegExPattern;
            string regExGroupName  = provider.RegExGroupName;
            int    regExMatchIndex = 0;
            string locale          = provider.Locale;
            Ssq    ssq             = new Ssq(url, stockIdentifierPlaceholder: stockIdentifierPlaceholder, locale: locale, udfName: udfName,
                                             regExPattern: regExPattern, regExGroupName: regExGroupName, regExMatchIndex: regExMatchIndex,
                                             parser: Parser);

            return(ssq.Q(provider.IsinTickerWkn));
        }
예제 #7
0
        public object SsqQueryParameterTest(QueryParameter queryParameter, string udfName, string isinTickerWkn)
        {
            Ssq ssq = new Ssq(queryParameter, udfName);

            return(ssq.Q(isinTickerWkn));
        }