Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.
MentorDashboard class
The MentorDashboard class of Novior.MentorAgent.Abstractions.Components.
On this page
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Abstractions.Components. Package: Novior.MentorAgent.Abstractions.
public class MentorDashboard : ComponentBase
dotnet add package Novior.MentorAgent.AbstractionsConstructors
Section titled “Constructors”public MentorDashboard()
Properties
Section titled “Properties”Currency
Section titled “Currency”public string Currency { get; set; }
Currency symbol/prefix used for the estimated cost. Default "$".
Language
Section titled “Language”public MentorLanguage? Language { get; set; }
UI language. Leave null on Blazor Server — the component resolves MentorLocalizer from DI and follows options.Language. In WASM (no MentorAgent DI) pass it explicitly; default is English.
OnRefresh
Section titled “OnRefresh”public EventCallback OnRefresh { get; set; }
Invoked when the user clicks Refresh — use it to re-fetch the snapshot (WASM/headless).
Snapshot
Section titled “Snapshot”public MentorMetricsSnapshot? Snapshot { get; set; }
Externally supplied snapshot (WASM/headless). When null, the component reads IMentorMetrics in-process.
