# KeyQuery\<T>

```
class in RenownedGames.AITree / Inherits from KeyQuery where T : Key
```

Key query determining equality of key value.

### Abstract Methods

```csharp
/// <summary>
/// Result of determining equality of key.
/// </summary>
protected abstract bool Result(T key);
```

### Virtual Methods

<pre class="language-csharp"><code class="lang-csharp">/// &#x3C;summary>
/// Detail description of key query.
/// &#x3C;/summary>
<strong>public virtual string GetDescription(Key key);
</strong></code></pre>

### Getter / Setter

```csharp
/// <summary>
/// Detail description of key query.
/// </summary>
string GetDescription(Key key);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://renownedgames.gitbook.io/ai-tree/api/runtime/keyquery-less-than-t-greater-than.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
