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