MentorAgent Docs
Menu

Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.

ReferencePackage: Novior.MentorAgent.Abstractions

UIActionRegistration record

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

On this page

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

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

public sealed record UIActionRegistration : IEquatable<UIActionRegistration>

Terminal
dotnet add package Novior.MentorAgent.Abstractions

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.

public string ActionName { get; init; }

public string Description { get; init; }

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

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

public string? ParameterHint { get; init; }