C# Класс RoboGO.ViewModels.DelegateCommand

Command class for executing one function. Function type: void functionName(void)
Наследование: ICommand
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CanExecute() публичный Метод

Able to execute.
public CanExecute ( object _objParam ) : bool
_objParam object Unused from ICommand.
Результат bool

DelegateCommand() публичный Метод

Constructor with function to call.
public DelegateCommand ( System.Action _aMethodToExecute ) : System
_aMethodToExecute System.Action Function to call when command is used.
Результат System

Execute() публичный Метод

Execute the command from the constructor.
public Execute ( object _objParam ) : void
_objParam object Unused from ICommand.
Результат void