Esempio n. 1
0
        public static object Evaluate(OPathDocument opathDocument, OPathExpression opathExpression)
        {
            OPathNavigator targetNavigator = CreateNavigator(opathDocument);

            object opathValue = targetNavigator.Evaluate(opathExpression, OPathOptions.Defaults);

            return(opathValue);
        }
Esempio n. 2
0
        public static object Evaluate(OPathDocument opathDocument, OPathExpression opathExpression,
                                      OPathOptions opathOptions, object defaultValue, ValueLogger valueLogger)
        {
            OPathNavigator targetNavigator = CreateNavigator(opathDocument);

            object opathValue =
                targetNavigator.Evaluate(opathExpression, opathOptions, defaultValue, valueLogger);

            return(opathValue);
        }
Esempio n. 3
0
        public static OPathNavigator CreateNavigator(OPathDocument opathDocument)
        {
            OPathNavigator opathNavigator = new OPathNavigator(opathDocument);

            return(opathNavigator);
        }