Struct QueryMatchID
Identifies a query and an instance of a match for this query
Syntax
public struct QueryMatchID : IEquatable<QueryMatchID>
Fields
NullQuery
Null value for empty query match id
Declaration
public static QueryMatchID NullQuery
Field Value
Properties
matchID
Identifies an instance of a query match. This is distinct from the ID of the data that fulfills the query.
Declaration
public int matchID { get; }
Property Value
queryID
Identifies the query itself
Declaration
public int queryID { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Equals(QueryMatchID)
Declaration
public bool Equals(QueryMatchID id)
Parameters
Returns
Generate()
Generate a new query match id
Declaration
public static QueryMatchID Generate()
Returns
Type |
Description |
QueryMatchID |
The newly generated query match id
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
IsNullQuery()
Checks whether this query ID has actually been initialized
Declaration
public bool IsNullQuery()
Returns
NextMatch()
Declaration
public QueryMatchID NextMatch()
Returns
Type |
Description |
QueryMatchID |
The newly generated query match id
|
SameQuery(QueryMatchID)
Checks whether this ID refers to the same query as another ID
Declaration
public bool SameQuery(QueryMatchID otherID)
Parameters
Type |
Name |
Description |
QueryMatchID |
otherID |
QueryMatchID to compare against
|
Returns
Type |
Description |
Boolean |
True if both IDs refer to the same query, false otherwise
|
ToString()
Declaration
public override string ToString()
Returns