IWidgetTemplatesRepositoryGetTemplateAccessAsync - метод

Retrieves DashboardTokenAccess value for the templateID or if template not found with specified identifier for specified type of dashboard, if any.

Definition

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

Параметры

templateID  Guid
Widget template identifier.
dashboardType  NullableDashboardType  (Optional)
Dashboard types.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskNullableDashboardTokenAccess
Defines access levels for tokens.

См. также