AggregatedFileContentPermissionManagerCanApplyFileLinkPermissionsAsync - метод
Checks whether this manager can be applied to the given context.
Пространство имён: Tessa.Content.FilesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask<bool> CanApplyFileLinkPermissionsAsync(
IFileContentLinkPermissionContext context,
CancellationToken cancellationToken = default
)
Public Function CanApplyFileLinkPermissionsAsync (
context As IFileContentLinkPermissionContext,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of Boolean)
public:
virtual ValueTask<bool> CanApplyFileLinkPermissionsAsync(
IFileContentLinkPermissionContext^ context,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract CanApplyFileLinkPermissionsAsync :
context : IFileContentLinkPermissionContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<bool>
override CanApplyFileLinkPermissionsAsync :
context : IFileContentLinkPermissionContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<bool>
- context IFileContentLinkPermissionContext
Context for checking permissions to create file link.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskBooleanWhether this manager can be applied to the given context.
IFileContentPermissionManagerCanApplyFileLinkPermissionsAsync(IFileContentLinkPermissionContext, CancellationToken)