Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.
PageContextSnapshot class
The PageContextSnapshot class of Novior.MentorAgent.Abstractions.Models: Serializable snapshot of the current page context. Sent by WasmMentorPageContext to…
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.
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.
public sealed class PageContextSnapshot
dotnet add package Novior.MentorAgent.AbstractionsConstructors
Section titled “Constructors”public PageContextSnapshot()
Properties
Section titled “Properties”ContextData
Section titled “ContextData”public Dictionary<string, string?> ContextData { get; set; }
Key-value context data registered by the page.
PageName
Section titled “PageName”public string? PageName { get; set; }
Current page name (e.g. "Orders", "Products").
UIActions
Section titled “UIActions”public List<UIActionInfo> UIActions { get; set; }
UI actions registered by the page (name + description only — handlers stay on client).
