KrCardValidationManagerValidateTaskAsync - метод
Пространство имён: Tessa.Extensions.Default.Client.Workflow.KrPermissionsСборка: Tessa.Extensions.Default.Client (в Tessa.Extensions.Default.Client.dll) Версия: 3.6.0.22
public Task<ICardValidationResult> ValidateTaskAsync(
IEnumerable<CardTypeValidator> validators,
Guid mainCardTypeID,
Card mainCard,
CardStoreMode storeMode,
Guid taskCardTypeID,
Card taskCard,
ISerializableObject externalContextInfo = null,
Func<ICardValidationContext, ValueTask> modifyContextActionAsync = null,
CardValidationMode validationMode = CardValidationMode.Task,
CancellationToken cancellationToken = default
)
Public Function ValidateTaskAsync (
validators As IEnumerable(Of CardTypeValidator),
mainCardTypeID As Guid,
mainCard As Card,
storeMode As CardStoreMode,
taskCardTypeID As Guid,
taskCard As Card,
Optional externalContextInfo As ISerializableObject = Nothing,
Optional modifyContextActionAsync As Func(Of ICardValidationContext, ValueTask) = Nothing,
Optional validationMode As CardValidationMode = CardValidationMode.Task,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ICardValidationResult)
public:
virtual Task<ICardValidationResult^>^ ValidateTaskAsync(
IEnumerable<CardTypeValidator^>^ validators,
Guid mainCardTypeID,
Card^ mainCard,
CardStoreMode storeMode,
Guid taskCardTypeID,
Card^ taskCard,
ISerializableObject^ externalContextInfo = nullptr,
Func<ICardValidationContext^, ValueTask>^ modifyContextActionAsync = nullptr,
CardValidationMode validationMode = CardValidationMode::Task,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract ValidateTaskAsync :
validators : IEnumerable<CardTypeValidator> *
mainCardTypeID : Guid *
mainCard : Card *
storeMode : CardStoreMode *
taskCardTypeID : Guid *
taskCard : Card *
?externalContextInfo : ISerializableObject *
?modifyContextActionAsync : Func<ICardValidationContext, ValueTask> *
?validationMode : CardValidationMode *
?cancellationToken : CancellationToken
(* Defaults:
let _externalContextInfo = defaultArg externalContextInfo null
let _modifyContextActionAsync = defaultArg modifyContextActionAsync null
let _validationMode = defaultArg validationMode CardValidationMode.Task
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ICardValidationResult>
override ValidateTaskAsync :
validators : IEnumerable<CardTypeValidator> *
mainCardTypeID : Guid *
mainCard : Card *
storeMode : CardStoreMode *
taskCardTypeID : Guid *
taskCard : Card *
?externalContextInfo : ISerializableObject *
?modifyContextActionAsync : Func<ICardValidationContext, ValueTask> *
?validationMode : CardValidationMode *
?cancellationToken : CancellationToken
(* Defaults:
let _externalContextInfo = defaultArg externalContextInfo null
let _modifyContextActionAsync = defaultArg modifyContextActionAsync null
let _validationMode = defaultArg validationMode CardValidationMode.Task
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ICardValidationResult>
- validators IEnumerableCardTypeValidator
-
- mainCardTypeID Guid
-
- mainCard Card
-
- storeMode CardStoreMode
-
- taskCardTypeID Guid
-
- taskCard Card
-
- externalContextInfo ISerializableObject (Optional)
-
- modifyContextActionAsync FuncICardValidationContext, ValueTask (Optional)
-
- validationMode CardValidationMode (Optional)
-
- cancellationToken CancellationToken (Optional)
-
TaskICardValidationResultICardValidationManagerValidateTaskAsync(IEnumerableCardTypeValidator, Guid, Card, CardStoreMode, Guid, Card, ISerializableObject, FuncICardValidationContext, ValueTask, CardValidationMode, CancellationToken)