MentorAgent Docs
Menu

ReferencePackage: Novior.MentorAgent.Abstractions

MentorCardAction record

The MentorCardAction record of Novior.MentorAgent.Abstractions.Models: A button on a MentorCard.

View as Markdown
On this page

A button on a MentorCard.

Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.

public sealed record MentorCardAction : IEquatable<MentorCardAction>

Terminal
dotnet add package Novior.MentorAgent.Abstractions

public MentorCardAction(string Label, MentorCardActionKind Kind, string Value)

A button on a MentorCard.

Parameters

  • Label: Button text.
  • Kind: What pressing it does.
  • Value: The message to send, the URL to open, or the UI action to run — depending on Kind.

public MentorCardActionKind Kind { get; init; }

What pressing it does.

public string Label { get; init; }

Button text.

public string Value { get; init; }

The message to send, the URL to open, or the UI action to run — depending on Kind.