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(DashboardPanel)
Converts a DashboardPanel to a DashboardPanelInfo instance.
Declaration
public static DashboardPanelInfo ToDashboardPanelInfo(this DashboardPanel panel)
Parameters
| Type | Name | Description |
|---|---|---|
| DashboardPanel | panel | The DashboardPanel to convert. |
Returns
| Type | Description |
|---|---|
| DashboardPanelInfo | An instance of DashboardPanelInfo representing the panel. |
ToDashboardWidgetInfo(DashboardWidget)
Converts a DashboardWidget to a DashboardWidgetInfo instance.
Declaration
public static DashboardWidgetInfo ToDashboardWidgetInfo(this DashboardWidget widget)
Parameters
| Type | Name | Description |
|---|---|---|
| DashboardWidget | widget | The DashboardWidget to convert. |
Returns
| Type | Description |
|---|---|
| DashboardWidgetInfo | An instance of DashboardWidgetInfo representing the widget. |