IFileContentPermissionManager.CanApplyFileLinkPermissionsAsync - метод

Checks whether this manager can be applied to the given context.

Definition

Пространство имён: Tessa.Content.Files
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
ValueTask<bool> CanApplyFileLinkPermissionsAsync(
	IFileContentLinkPermissionContext context,
	CancellationToken cancellationToken = default
)

Параметры

context  IFileContentLinkPermissionContext
Context for checking permissions to create file link.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTask<Boolean>
Whether this manager can be applied to the given context.

См. также