Struct QueryMatchID
Identifies a query and an instance of a match for this query
Syntax
public struct QueryMatchID : IEquatable<QueryMatchID>
Fields
NullQuery
Declaration
public static QueryMatchID NullQuery
Field Value
Properties
matchID
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
Overrides
Equals(QueryMatchID)
Declaration
public bool Equals(QueryMatchID id)
Parameters
Returns
Generate()
Declaration
public static QueryMatchID Generate()
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
IsNullQuery()
Checks whether this query ID has actually been initialized
Declaration
public bool IsNullQuery()
Returns
NextMatch()
Declaration
public QueryMatchID NextMatch()
Returns
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
Overrides