---
description: Type description and basic instructions.
---

# KeyReceiver\<T>

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

Key receiver sets the value to the key.

### Abstract Methods

```csharp
/// <summary>
/// Sets the value to the key.
/// </summary>
protected abstract bool Apply(Key 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);
```
