C# Class Huoyaoyuan.AdmiralRoom.DelegateCommand

Inheritance: ICommand
Show file Open project: huoyaoyuan/AdmiralRoom

Public Methods

Method Description
DelegateCommand ( System.Action action, bool canexecute = true ) : System
Execute ( object parameter ) : void

Private Methods

Method Description
ICommand ( object parameter ) : bool

Method Details

DelegateCommand() public method

public DelegateCommand ( System.Action action, bool canexecute = true ) : System
action System.Action
canexecute bool
return System

Execute() public method

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