Interface IRVDashboardProvider
An interface that handles loading and saving dashboards.
Namespace: Reveal.Sdk
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public interface IRVDashboardProvider
Methods
GetDashboardAsync(IRVUserContext, String)
Called when a dashboard is requested by a user.
Declaration
Task<Dashboard> GetDashboardAsync(IRVUserContext userContext, string dashboardId)
Parameters
| Type | Name | Description |
|---|---|---|
| IRVUserContext | userContext | Object identifying the user. |
| System.String | dashboardId | The id of the requested dashboard. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Dashboard> |
SaveDashboardAsync(IRVUserContext, String, Dashboard)
Called when a user saves a dashboard.
Declaration
Task SaveDashboardAsync(IRVUserContext userContext, string dashboardId, Dashboard dashboard)
Parameters
| Type | Name | Description |
|---|---|---|
| IRVUserContext | userContext | Object identifying the user. |
| System.String | dashboardId | The id of the requested dashboard. |
| Dashboard | dashboard | The dashboard to save. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |