MentorAgent Docs
Menu

ReferencePackage: Novior.MentorAgent.Abstractions

PageContextSnapshot class

The PageContextSnapshot class of Novior.MentorAgent.Abstractions.Models: Serializable snapshot of the current page context. Sent by WasmMentorPageContext to…

View as Markdown
On this page

Serializable snapshot of the current page context. Sent by WasmMentorPageContext to Novior.MentorAgent.Server before each AI message so the server has the client's page state.

Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.

public sealed class PageContextSnapshot

Terminal
dotnet add package Novior.MentorAgent.Abstractions

public PageContextSnapshot()

public Dictionary<string, string?> ContextData { get; set; }

Key-value context data registered by the page.

public string? PageName { get; set; }

Current page name (e.g. "Orders", "Products").

public List<UIActionInfo> UIActions { get; set; }

UI actions registered by the page (name + description only — handlers stay on client).