C# Class ReversiEight.Common.DelegateCommand

Inheritance: ICommand
显示文件 Open project: ColinEberhardt/ReversiEight

Public Methods

Method Description
CanExecute ( object parameter ) : bool
DelegateCommand ( System.Action executeMethod ) : System
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Protected Methods

Method Description
OnCanExecuteChanged ( EventArgs e ) : void

Method Details

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool

DelegateCommand() public method

public DelegateCommand ( System.Action executeMethod ) : System
executeMethod System.Action
return System

Execute() public method

public Execute ( object parameter ) : void
parameter object
return void

OnCanExecuteChanged() protected method

protected OnCanExecuteChanged ( EventArgs e ) : void
e System.EventArgs
return void

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void