'Declaration Public Function New( _ ByVal executeAction As Action(Of Object), _ ByVal canExecute As ImGearFunc(Of Object,Boolean), _ ByVal commandManager As IImGearCommandManager _ )
'Usage Dim executeAction As Action(Of Object) Dim canExecute As ImGearFunc(Of Object,Boolean) Dim commandManager As IImGearCommandManager Dim instance As New ImGearDelegateCommand(executeAction, canExecute, commandManager)
public ImGearDelegateCommand( Action<object> executeAction, ImGearFunc<object,bool> canExecute, IImGearCommandManager commandManager )
public: ImGearDelegateCommand( Action<Object*>* executeAction, ImGearFunc<Object*,bool>* canExecute, IImGearCommandManager* commandManager )
public: ImGearDelegateCommand( Action<Object^>^ executeAction, ImGearFunc<Object^,bool>^ canExecute, IImGearCommandManager^ commandManager )
Parameters
- executeAction
- The execute action.
- canExecute
- The can execute function.
- commandManager
- The command manager.