public static object Evaluate(OPathDocument opathDocument, OPathExpression opathExpression) { OPathNavigator targetNavigator = CreateNavigator(opathDocument); object opathValue = targetNavigator.Evaluate(opathExpression, OPathOptions.Defaults); return(opathValue); }
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); }