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); }
public static OPathNavigator CreateNavigator(OPathDocument opathDocument) { OPathNavigator opathNavigator = new OPathNavigator(opathDocument); return(opathNavigator); }