예제 #1
0
        public static string MasterDisplayer(string _url, string _xpath, int _qty, string _displayMethodName, string _categories, string _colleges, string _tags, string _fromDate, string _toDate, int _pageStart)
        {
            string output = "";

            MethodInfo mi = WnlDisplayMethods.getWnlDisplayMethodByName(_displayMethodName);

            if (mi != null)
            {
                output += mi.Invoke(new object { }, new object[] { _url, _xpath, _qty, _categories, _colleges, _tags, _fromDate, _toDate, _pageStart });
            }
            else
            {
                output = "Error in the WNLDisplayMethod";
            }
            return(output);
        }
예제 #2
0
        public static string MasterDisplayer(string _url, string _xpath, int _qty, string _displayMethodName)
        {
            string output = "";

            MethodInfo mi = WnlDisplayMethods.getWnlDisplayMethodByName(_displayMethodName);

            if (mi != null)
            {
                output += mi.Invoke(new object { }, new object[] { _url, _xpath, _qty });
            }
            else
            {
                output = "Error in the WNLDisplayMethod";
            }
            return(output);
        }