C# Class RelayCommand, code

Inheritance: ICommand
ファイルを表示 Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RelayCommand ( Action, execute, Predicate, canExecute )

Method Details

CanExecute() public method

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

Execute() public method

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

RelayCommand() public method

public RelayCommand ( Action, execute, Predicate, canExecute )
execute Action,
canExecute Predicate,