logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptChoice

    One selectable option offered by a choice-kind AiPromptQuestion.

    Inheritance
    object
    AiPromptChoice
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Editor.AiPromptBuilder
    Assembly: Serenity.AiPromptBuilder.Editor.dll
    Syntax
    public sealed class AiPromptChoice

    Constructors

    AiPromptChoice(string, string)

    Declaration
    public AiPromptChoice(string value, string label)
    Parameters
    Type Name Description
    string value
    string label

    Properties

    Label

    Declaration
    public string Label { get; }
    Property Value
    Type Description
    string

    The human-readable text shown for this option.

    Value

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    string

    The value stored in the AiPromptAnswerSheet when this option is selected.

    In this article
    © 2026 Serenity. All Rights Reserved