C# Class DelegateCommand, code

Inheritance: ICommand
Datei anzeigen Open project: shendongnian/code Class Usage Examples

Public Methods

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

Method Details

CanExecute() public method

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

DelegateCommand() public method

public DelegateCommand ( Action, execute )
execute Action,

DelegateCommand() public method

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

Execute() public method

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