# MentorDashboard class

> The MentorDashboard class of Novior.MentorAgent.Abstractions.Components.

- URL: https://docs.mentoragent.net/api/novior-mentoragent-abstractions-components/mentordashboard
- Verified with: MentorAgent 1.2.0
- Last updated: 2026-10-27
- Packages: Novior.MentorAgent.Abstractions

## Definition

Namespace: `Novior.MentorAgent.Abstractions.Components`. Package: `Novior.MentorAgent.Abstractions`.

`public class MentorDashboard : ComponentBase`

```shell
dotnet add package Novior.MentorAgent.Abstractions
```

## Constructors

`public MentorDashboard()`

## Properties

### `Currency`

`public string Currency { get; set; }`

Currency symbol/prefix used for the estimated cost. Default "$".

### `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`

`public EventCallback OnRefresh { get; set; }`

Invoked when the user clicks Refresh — use it to re-fetch the snapshot (WASM/headless).

### `Snapshot`

`public MentorMetricsSnapshot? Snapshot { get; set; }`

Externally supplied snapshot (WASM/headless). When null, the component reads IMentorMetrics in-process.

---

- Previous: [MentorCardView class](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-components/mentorcardview.md)
- Next: [MessageBubble class](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-components/messagebubble.md)
