MentorCardAction record
The MentorCardAction record of Novior.MentorAgent.Abstractions.Models: A button on a MentorCard.
On this page
A button on a MentorCard.
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.
public sealed record MentorCardAction : IEquatable<MentorCardAction>
dotnet add package Novior.MentorAgent.AbstractionsConstructors
Section titled “Constructors”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 onKind.
Properties
Section titled “Properties”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.
