C# 클래스 RoboGO.ViewModels.DelegateCommand

Command class for executing one function. Function type: void functionName(void)
상속: ICommand
파일 보기 프로젝트 열기: syre/SortingIndustrialRobot

공개 메소드들

메소드 설명
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