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