BlRichTextBoxViewModelBaseInitItems - метод |
Пространство имён:
Tessa.UI.Controls.CustomRichTextBoxCtrl
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public virtual void InitItems(
ListStorage<ItemModel> itemModels,
Func<ItemModel, CancellationToken, Task<(List<string> filePaths, IValidationResultBuilder validationResult)>> getFileContentAction = null,
Func<ItemModel, CancellationToken, Task> removeAction = null
)
Public Overridable Sub InitItems (
itemModels 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^>^ itemModels,
Func<ItemModel^, CancellationToken, Task<ValueTuple<List<String^>^, IValidationResultBuilder^>>^>^ getFileContentAction = nullptr,
Func<ItemModel^, CancellationToken, Task^>^ removeAction = nullptr
)
abstract InitItems :
itemModels : 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 :
itemModels : 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
Параметры
- itemModels
- Тип: Tessa.Platform.StorageListStorageItemModel
- getFileContentAction (Optional)
- Тип: SystemFuncItemModel, CancellationToken, TaskValueTupleListString, IValidationResultBuilder
- removeAction (Optional)
- Тип: SystemFuncItemModel, CancellationToken, Task
См. также