logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptExtendModuleIntent

    Requests a change to one or more existing Serenity modules — extending a named existing asset when one fits, or creating a new one for the module(s) picked when none does.

    Inheritance
    object
    AiPromptExtendModuleIntent
    Implements
    IAiPromptIntent
    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 AiPromptExtendModuleIntent : IAiPromptIntent

    Constructors

    AiPromptExtendModuleIntent(IAiPromptTemplateSource)

    Declaration
    public AiPromptExtendModuleIntent(IAiPromptTemplateSource templates)
    Parameters
    Type Name Description
    IAiPromptTemplateSource templates

    Properties

    ConfigureStepTitle

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

    Title shown on this intent's dedicated Configure step in the wizard.

    Description

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

    One-line explanation of what this intent produces, shown next to its selection checkbox.

    DisplayName

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

    Shown wherever this intent appears in a selection list.

    Kind

    Declaration
    public AiPromptIntentKind Kind { get; }
    Property Value
    Type Description
    AiPromptIntentKind

    Methods

    BuildQuestions(AiPromptProjectScan)

    Declaration
    public IReadOnlyList<AiPromptQuestion> BuildQuestions(AiPromptProjectScan scan)
    Parameters
    Type Name Description
    AiPromptProjectScan scan
    Returns
    Type Description
    IReadOnlyList<AiPromptQuestion>

    Emit(AiPromptAnswerSheet, AiPromptProjectScan, IList<string>)

    Declaration
    public AiPromptSection Emit(AiPromptAnswerSheet answers, AiPromptProjectScan scan, IList<string> warnings)
    Parameters
    Type Name Description
    AiPromptAnswerSheet answers
    AiPromptProjectScan scan
    IList<string> warnings
    Returns
    Type Description
    AiPromptSection

    Validate(AiPromptAnswerSheet)

    Blocking validation errors for the current answers; empty when this intent is ready to emit.

    Declaration
    public IReadOnlyList<string> Validate(AiPromptAnswerSheet answers)
    Parameters
    Type Name Description
    AiPromptAnswerSheet answers
    Returns
    Type Description
    IReadOnlyList<string>

    Implements

    IAiPromptIntent
    In this article
    © 2026 Serenity. All Rights Reserved