RichTextBoxViewModelInitItems - метод |
Пространство имён:
Tessa.UI.Controls.CustomRichTextBoxCtrl
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public override void InitItems(
ListStorage<ItemModel> items,
Func<ItemModel, CancellationToken, Task<(List<string> filePaths, IValidationResultBuilder validationResult)>> getFileContentAction = null,
Func<ItemModel, CancellationToken, Task> removeAction = null
)
Public Overrides Sub InitItems (
items As ListStorage(Of ItemModel),
Optional getFileContentAction As Func(Of ItemModel, CancellationToken, Task(Of (filePaths As List(Of String), validationResult As IValidationResultBuilder))) = Nothing,
Optional removeAction As Func(Of ItemModel, CancellationToken, Task) = Nothing
)
public:
virtual void InitItems(
ListStorage<ItemModel^>^ items,
Func<ItemModel^, CancellationToken, Task<ValueTuple<List<String^>^, IValidationResultBuilder^>>^>^ getFileContentAction = nullptr,
Func<ItemModel^, CancellationToken, Task^>^ removeAction = nullptr
) override
abstract InitItems :
items : ListStorage<ItemModel> *
?getFileContentAction : Func<ItemModel, CancellationToken, Task<ValueTuple<List<string>, IValidationResultBuilder>>> *
?removeAction : Func<ItemModel, CancellationToken, Task>
(* Defaults:
let _getFileContentAction = defaultArg getFileContentAction null
let _removeAction = defaultArg removeAction null
*)
-> unit
override InitItems :
items : ListStorage<ItemModel> *
?getFileContentAction : Func<ItemModel, CancellationToken, Task<ValueTuple<List<string>, IValidationResultBuilder>>> *
?removeAction : Func<ItemModel, CancellationToken, Task>
(* Defaults:
let _getFileContentAction = defaultArg getFileContentAction null
let _removeAction = defaultArg removeAction null
*)
-> unit
Параметры
- items
- Тип: Tessa.Platform.StorageListStorageItemModel
- getFileContentAction (Optional)
- Тип: SystemFuncItemModel, CancellationToken, TaskValueTupleListString, IValidationResultBuilder
- removeAction (Optional)
- Тип: SystemFuncItemModel, CancellationToken, Task
См. также