ConditionHelperGetConditionDescriptionAsync - метод
Выполняет генерацию описания условия.
Пространство имён: Tessa.Platform.ConditionsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public static ValueTask<(ValidationResult , string )> GetConditionDescriptionAsync(
IConditionTypesProvider typesProvider,
ICardMetadata cardMetadata,
ICardRepairManager cardRepairManager,
ISession session,
IUnityContainer unityContainer,
IPlaceholderManager placeholderManager,
Guid conditionTypeID,
Dictionary<string, Object?>? settingsRowStorage,
CancellationToken cancellationToken = default
)
Public Shared Function GetConditionDescriptionAsync (
typesProvider As IConditionTypesProvider,
cardMetadata As ICardMetadata,
cardRepairManager As ICardRepairManager,
session As ISession,
unityContainer As IUnityContainer,
placeholderManager As IPlaceholderManager,
conditionTypeID As Guid,
settingsRowStorage As Dictionary(Of String, Object),
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ( As ValidationResult, As String))
public:
static ValueTask<ValueTuple<ValidationResult^, String^>> GetConditionDescriptionAsync(
IConditionTypesProvider^ typesProvider,
ICardMetadata^ cardMetadata,
ICardRepairManager^ cardRepairManager,
ISession^ session,
IUnityContainer^ unityContainer,
IPlaceholderManager^ placeholderManager,
Guid conditionTypeID,
Dictionary<String^, Object^>^ settingsRowStorage,
CancellationToken cancellationToken = CancellationToken()
)
static member GetConditionDescriptionAsync :
typesProvider : IConditionTypesProvider *
cardMetadata : ICardMetadata *
cardRepairManager : ICardRepairManager *
session : ISession *
unityContainer : IUnityContainer *
placeholderManager : IPlaceholderManager *
conditionTypeID : Guid *
settingsRowStorage : Dictionary<string, Object> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValueTuple<ValidationResult, string>>
- typesProvider IConditionTypesProvider
- Провайдер типов условий.
- cardMetadata ICardMetadata
- Метаданные карточки.
- cardRepairManager ICardRepairManager
- Объект, управляющий исправлением структуры карточки.
- session ISession
- Сессия пользователя.
- unityContainer IUnityContainer
- Контейнер Unity.
- placeholderManager IPlaceholderManager
- Объект, управляющий операциями с плейсхолдерами.
- conditionTypeID Guid
- Тип карточки условия.
- settingsRowStorage DictionaryString, Object
- Настройки условия в виде storage-объекта.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskValueTupleValidationResult,
StringРезультат генерации описания и текст описания.