WorkplaceMetadataWalkerTContextApplyAsync(IWorkplaceMetadata, TContext, AccessRuleExecutorIWorkplaceComponentMetadata, TContext, CancellationToken) - метод
Пространство имён: Tessa.Views.AccessPolicyСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask<IWorkplaceComponentMetadata> ApplyAsync(
IWorkplaceMetadata metadata,
TContext context,
AccessRuleExecutor<IWorkplaceComponentMetadata, TContext> executor,
CancellationToken cancellationToken = default
)
Public Function ApplyAsync (
metadata As IWorkplaceMetadata,
context As TContext,
executor As AccessRuleExecutor(Of IWorkplaceComponentMetadata, TContext),
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IWorkplaceComponentMetadata)
public:
virtual ValueTask<IWorkplaceComponentMetadata^> ApplyAsync(
IWorkplaceMetadata^ metadata,
TContext context,
AccessRuleExecutor<IWorkplaceComponentMetadata^, TContext>^ executor,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract ApplyAsync :
metadata : IWorkplaceMetadata *
context : 'TContext *
executor : AccessRuleExecutor<IWorkplaceComponentMetadata, 'TContext> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IWorkplaceComponentMetadata>
override ApplyAsync :
metadata : IWorkplaceMetadata *
context : 'TContext *
executor : AccessRuleExecutor<IWorkplaceComponentMetadata, 'TContext> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IWorkplaceComponentMetadata>
- metadata IWorkplaceMetadata
-
Метаданные рабочего места
- context TContext
-
Контекст обработки
- executor AccessRuleExecutorIWorkplaceComponentMetadata, TContext
-
Исполнитель правил политики доступности
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskIWorkplaceComponentMetadata
Обработанные метаданные рабочего места
IWorkplaceMetadataWalkerTMandatoryContextApplyAsync(IWorkplaceMetadata, TMandatoryContext, AccessRuleExecutorIWorkplaceComponentMetadata, TMandatoryContext, CancellationToken)