KrCardValidationManagerValidateTaskAsync - метод
Пространство имён: Tessa.Extensions.Default.Client.Workflow.KrPermissionsСборка: Tessa.Extensions.Default.Client (в Tessa.Extensions.Default.Client.dll) Версия: 4.0.4
public ValueTask<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 ValueTask(Of ICardValidationResult)
public:
virtual ValueTask<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()
*)
-> ValueTask<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()
*)
-> ValueTask<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)
-
ValueTaskICardValidationResultICardValidationManagerValidateTaskAsync(IEnumerableCardTypeValidator, Guid, Card, CardStoreMode, Guid, Card, ISerializableObject, FuncICardValidationContext, ValueTask, CardValidationMode, CancellationToken)