IWidgetTemplatesServiceGetTemplatesInfoAsync - метод

Retrieves the widget templates info for the specified kind and type of dashboard, if any.

Definition

Пространство имён: Tessa.Dashboards.WidgetTemplates
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
Task<(WidgetTemplateInfo[] , DashboardToken Token)> GetTemplatesInfoAsync(
	DashboardType dashboardType,
	WidgetTemplatesKind? kind = null,
	DashboardToken? token = null,
	CancellationToken cancellationToken = default
)

Параметры

dashboardType  DashboardType
Dashboard types.
kind  NullableWidgetTemplatesKind  (Optional)
The kind of widget templates.
token  DashboardToken  (Optional)
Represents a secure, serializable token used for widgets access control.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskValueTupleWidgetTemplateInfo, DashboardToken
Tuple with a collection of WidgetTemplateInfo objects and an optional updated DashboardToken.

См. также