DashboardPermissionsManagerActualizeTokensForGetOriginChangesAsync - метод

Updates and validates tokens for widgets on a dashboard when retrieving changes for the origin.

Definition

Пространство имён: Tessa.Dashboards
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public ValueTask<DashboardToken> ActualizeTokensForGetOriginChangesAsync(
	DashboardToken? token,
	DashboardType dashboardType,
	IReadOnlyCollection<Widget> widgets,
	IReadOnlyDictionary<Guid, WidgetStatusInfo> widgetStatuses,
	IValidationResultBuilder validationResult,
	CancellationToken cancellationToken = default
)

Параметры

token  DashboardToken
The current template editor token if any, used only for the template dashboard.
dashboardType  DashboardType
Dashboard types.
widgets  IReadOnlyCollectionWidget
A collection of widgets at personal dashboard to update tokens for.
widgetStatuses  IReadOnlyDictionaryGuid, WidgetStatusInfo
A dictionary of widget statuses keyed by widget IDs.
validationResult  IValidationResultBuilder
Объект, выполняющий построение результата валидации.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTaskDashboardToken
The updated template editor token or if dashboard is not template type or not applicable.

Реализации

IDashboardPermissionsManagerActualizeTokensForGetOriginChangesAsync(DashboardToken, DashboardType, IReadOnlyCollectionWidget, IReadOnlyDictionaryGuid, WidgetStatusInfo, IValidationResultBuilder, CancellationToken)

См. также