IWidgetTemplatesServiceGetTemplateInfoAsync - метод

Retrieves the widget template info by template identifier.

Definition

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

Параметры

templateID  Guid
Widget template identifier.
dashboardType  DashboardType
Dashboard types.
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 the found WidgetTemplateInfo object, if any, and an optional updated DashboardToken.

См. также