C# Class RoboGO.ViewModels.DelegateCommand

Command class for executing one function. Function type: void functionName(void)
Inheritance: ICommand
Afficher le fichier Open project: syre/SortingIndustrialRobot

Méthodes publiques

Méthode Description
CanExecute ( object _objParam ) : bool

Able to execute.

DelegateCommand ( System.Action _aMethodToExecute ) : System

Constructor with function to call.

Execute ( object _objParam ) : void

Execute the command from the constructor.

Method Details

CanExecute() public méthode

Able to execute.
public CanExecute ( object _objParam ) : bool
_objParam object Unused from ICommand.
Résultat bool

DelegateCommand() public méthode

Constructor with function to call.
public DelegateCommand ( System.Action _aMethodToExecute ) : System
_aMethodToExecute System.Action Function to call when command is used.
Résultat System

Execute() public méthode

Execute the command from the constructor.
public Execute ( object _objParam ) : void
_objParam object Unused from ICommand.
Résultat void