WorkplaceMetadataWalkerTContextApplyAsync(IWorkplaceMetadata, TContext, AccessRuleExecutorIWorkplaceComponentMetadata, TContext, CancellationToken) - метод |
Пространство имён:
Tessa.Views.AccessPolicy
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: Tessa.Views.WorkplacesIWorkplaceMetadata
Метаданные рабочего места
- context
- Тип: TContext
Контекст обработки
- executor
- Тип: Tessa.Views.AccessPolicyAccessRuleExecutorIWorkplaceComponentMetadata, TContext
Исполнитель правил политики доступности
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Объект, посредством которого можно отменить асинхронную задачу.
Возвращаемое значение
Тип:
ValueTaskIWorkplaceComponentMetadata
Обработанные метаданные рабочего места
Реализации
IWorkplaceMetadataWalkerTMandatoryContextApplyAsync(IWorkplaceMetadata, TMandatoryContext, AccessRuleExecutorIWorkplaceComponentMetadata, TMandatoryContext, CancellationToken)См. также