WorkplaceAccessRuleTContextIsSatisfiedByAsync - метод
Выполняет проверку доступности объекта subject
Пространство имён: Tessa.Views.AccessPolicyСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public ValueTask<bool> IsSatisfiedByAsync(
IWorkplaceComponentMetadata subject,
TContext context,
CancellationToken cancellationToken = default
)
Public Function IsSatisfiedByAsync (
subject As IWorkplaceComponentMetadata,
context As TContext,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of Boolean)
public:
virtual ValueTask<bool> IsSatisfiedByAsync(
IWorkplaceComponentMetadata^ subject,
TContext context,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract IsSatisfiedByAsync :
subject : IWorkplaceComponentMetadata *
context : 'TContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<bool>
override IsSatisfiedByAsync :
subject : IWorkplaceComponentMetadata *
context : 'TContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<bool>
- subject IWorkplaceComponentMetadata
-
Объект проверяемый на наличие доступности
- context TContext
-
Контекст обработки
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskBoolean
Результат проверки
IAccessRuleTAccessSubject, TMandatoryContextIsSatisfiedByAsync(TAccessSubject, TMandatoryContext, CancellationToken)