C# Class CK.WPF.ViewModel.VMCommand

Inheritance: ICommand
显示文件 Open project: Invenietis/ck-certified Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
VMCommand ( System.Action del ) : System
VMCommand ( System.Action execute, Predicate canExecute ) : System

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

VMCommand() public method

public VMCommand ( System.Action del ) : System
del System.Action
return System

VMCommand() public method

public VMCommand ( System.Action execute, Predicate canExecute ) : System
execute System.Action
canExecute Predicate
return System