AggregatedFileContentPermissionManagerCanApplyFileLinkPermissionsAsync - метод

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

Definition

Пространство имён: Tessa.Content.Files
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public 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.

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

ValueTaskBoolean
Whether this manager can be applied to the given context.

Реализации

IFileContentPermissionManagerCanApplyFileLinkPermissionsAsync(IFileContentLinkPermissionContext, CancellationToken)

См. также