KrFileContentPermissionManagerCanApplyFileLinkPermissionsAsync - метод

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

Definition

Пространство имён: Tessa.Extensions.Default.Server.Files
Сборка: Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.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)

См. также