ConditionHelperRowConditionToSettingsAsync - метод
Сериализует настройки условия в storage-объект.
Пространство имён: Tessa.Platform.ConditionsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public static ValueTask<Dictionary<string?, Object>> RowConditionToSettingsAsync(
CardRow conditionRow,
Card mainCard,
ICardMetadata cardMetadata,
IConditionTypesProvider conditionTypesProvider,
CancellationToken cancellationToken = default
)
Public Shared Function RowConditionToSettingsAsync (
conditionRow As CardRow,
mainCard As Card,
cardMetadata As ICardMetadata,
conditionTypesProvider As IConditionTypesProvider,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of Dictionary(Of String, Object))
public:
static ValueTask<Dictionary<String^, Object^>^> RowConditionToSettingsAsync(
CardRow^ conditionRow,
Card^ mainCard,
ICardMetadata^ cardMetadata,
IConditionTypesProvider^ conditionTypesProvider,
CancellationToken cancellationToken = CancellationToken()
)
static member RowConditionToSettingsAsync :
conditionRow : CardRow *
mainCard : Card *
cardMetadata : ICardMetadata *
conditionTypesProvider : IConditionTypesProvider *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<Dictionary<string, Object>>
- conditionRow CardRow
- Строка условия.
- mainCard Card
- Карточка, содержащая настройки условия.
- cardMetadata ICardMetadata
- Метаданные карточек.
- conditionTypesProvider IConditionTypesProvider
- Провайдер типов условий.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskDictionaryString,
ObjectСериализованные в storage-объект настройки условия.