Search Results for

    Show / Hide Table of Contents

    Class AICopilotManager

    Singleton that tracks the AI copilot's busy ("thinking") state, guards report modifications while inference is running, and wraps AI-driven changes so they can be grouped into the designer's undo/redo history.

    Inheritance
    object
    AICopilotManager
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Designer
    Assembly: Reportman.Designer.dll
    Syntax
    public class AICopilotManager

    Fields

    View Source

    OnCancelRequested

    Declaration
    public Action OnCancelRequested
    Field Value
    Type Description
    Action

    Properties

    View Source

    Instance

    Declaration
    public static AICopilotManager Instance { get; }
    Property Value
    Type Description
    AICopilotManager
    View Source

    IsThinking

    Declaration
    public bool IsThinking { get; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    ApplyAIMacro(string, Action)

    Wraps an AI modification so that it can be correctly logged into the Undo/Redo buffer of Reportman.

    Declaration
    public void ApplyAIMacro(string description, Action modifyAction)
    Parameters
    Type Name Description
    string description
    Action modifyAction
    View Source

    BeginInference()

    Declaration
    public void BeginInference()
    View Source

    CheckModificationAllowed(IWin32Window)

    Checks if a modification to the report is allowed. If the AI is thinking, prompts the user to cancel the AI task.

    Declaration
    public bool CheckModificationAllowed(IWin32Window owner)
    Parameters
    Type Name Description
    IWin32Window owner
    Returns
    Type Description
    bool

    True if the modification can proceed, False if it is blocked.

    View Source

    EndInference()

    Declaration
    public void EndInference()

    Events

    View Source

    ThinkingStateChanged

    Declaration
    public event EventHandler ThinkingStateChanged
    Event Type
    Type Description
    EventHandler
    • View Source
    In this article
    Back to top Generated by DocFX