Class DashboardMapperExtension
Provides extension methods for mapping dashboard entities.
Inherited Members
Namespace: DataWeb.Mappers
Assembly: DataWeb.Core.dll
Syntax
public static class DashboardMapperExtension
Methods
ToDashboardPanelInfo(Panel)
Converts a Panel to a DashboardPanelInfo instance.
Declaration
public static DashboardPanelInfo ToDashboardPanelInfo(this Panel panel)
Parameters
| Type | Name | Description |
|---|---|---|
| Panel | panel | The Panel to convert. |
Returns
| Type | Description |
|---|---|
| DashboardPanelInfo | An instance of DashboardPanelInfo representing the panel. |
ToDashboardWidgetInfo(Widget)
Converts a Widget to a DashboardWidgetInfo instance.
Declaration
public static DashboardWidgetInfo ToDashboardWidgetInfo(this Widget widget)
Parameters
| Type | Name | Description |
|---|---|---|
| Widget | widget | The Widget to convert. |
Returns
| Type | Description |
|---|---|
| DashboardWidgetInfo | An instance of DashboardWidgetInfo representing the widget. |