コード例 #1
0
        private (bool, string) IsInformationLookupKeyword(string word, XmlNodeList lookup)
        {
            (bool success, XmlNode node)match = XmlManager.GetMatchInNodeList(word, lookup, matchInnerXml: true);

            if (match.success)
            {
                string afterParamWord = "";

                if (match.node.Attributes["after-param-word"] != null)
                {
                    afterParamWord = match.node.Attributes["after-param-word"].Value;
                }

                return(match.success, afterParamWord);
            }

            return(false, null);
        }
コード例 #2
0
 private bool IsProgramExecutionKeyword(string value, XmlNodeList lookup)
 {
     return(XmlManager.GetMatchInNodeList(value, lookup, matchInnerXml: true).Item1);
 }
コード例 #3
0
 private static bool IsQueryIdentifier(string word, XmlNodeList lookup)
 {
     return(XmlManager.GetMatchInNodeList(word, lookup, matchInnerXml: true).Item1);
 }