# UIActionRegistration record

> The UIActionRegistration record of Novior.MentorAgent.Abstractions.Interfaces: Registration of a UI action — name, LLM description and handler.

- URL: https://docs.mentoragent.net/api/novior-mentoragent-abstractions-interfaces/uiactionregistration
- Verified with: MentorAgent 1.2.0
- Last updated: 2026-10-27
- Packages: Novior.MentorAgent.Abstractions

Registration of a UI action — name, LLM description and handler.

## Definition

Namespace: `Novior.MentorAgent.Abstractions.Interfaces`. Package: `Novior.MentorAgent.Abstractions`.

`public sealed record UIActionRegistration : IEquatable<UIActionRegistration>`

```shell
dotnet add package Novior.MentorAgent.Abstractions
```

## Constructors

`public UIActionRegistration(string ActionName, string Description, Action<object?> Handler, Func<object?, Task>? HandlerAsync = null, string? ParameterHint = null)`

Registration of a UI action — name, LLM description and handler.

## Properties

### `ActionName`

`public string ActionName { get; init; }`

### `Description`

`public string Description { get; init; }`

### `Handler`

`public Action<object?> Handler { get; init; }`

### `HandlerAsync`

`public Func<object?, Task>? HandlerAsync { get; init; }`

### `ParameterHint`

`public string? ParameterHint { get; init; }`

---

- Previous: [IMentorTour interface](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-interfaces/imentortour.md)
- Next: [AgentDisplayInfo class](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-models/agentdisplayinfo.md)
