/// <summary> /// Runs a Query in the current working memory. /// </summary> /// <param name="queryLabel">The label of the Query to run.</param> /// <returns>A QueryResultSet containing the results found.</returns> /// <see cref="org.nxbre.ie.rule.QueryResultSet"/> public QueryResultSet RunQuery(string queryLabel) { return(RunQuery(QB.Get(queryLabel), false)); }
/// <summary> /// Runs a Query in the current working memory. /// </summary> /// <param name="queryIndex">The query base index of the Query to run.</param> /// <returns>A QueryResultSet containing the results found.</returns> /// <see cref="org.nxbre.ie.rule.QueryResultSet"/> /// <remarks>It is recommanded to use labelled queries.</remarks> public QueryResultSet RunQuery(int queryIndex) { return(RunQuery(QB.Get(queryIndex), false)); }