CardToolbarItemDelegateCommandT - конструктор
Пространство имён: Tessa.UI.CardsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public CardToolbarItemDelegateCommand(
ICardToolbarItem toolbarItem,
Action<T> execute,
Func<T, bool> canExecute = null
)
Public Sub New (
toolbarItem As ICardToolbarItem,
execute As Action(Of T),
Optional canExecute As Func(Of T, Boolean) = Nothing
)
public:
CardToolbarItemDelegateCommand(
ICardToolbarItem^ toolbarItem,
Action<T>^ execute,
Func<T, bool>^ canExecute = nullptr
)
new :
toolbarItem : ICardToolbarItem *
execute : Action<'T> *
?canExecute : Func<'T, bool>
(* Defaults:
let _canExecute = defaultArg canExecute null
*)
-> CardToolbarItemDelegateCommand
Параметры
- toolbarItem ICardToolbarItem
-
- execute ActionT
-
- canExecute FuncT, Boolean (Optional)
-