logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptMarkdownFileWriter

    Writes a generated prompt to a plain .md file at an arbitrary absolute path — the "save as file" output destination. Deliberately outside Assets/ by default (a dev-authored prompt is never runtime-loaded, so Serenity's Addressables-registration rule for created assets does not apply here).

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

    Methods

    Write(string, string)

    Declaration
    public static string Write(string absolutePath, string promptText)
    Parameters
    Type Name Description
    string absolutePath
    string promptText
    Returns
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved