C# Class RelayCommand, code

Inheritance: ICommand
Afficher le fichier Open project: shendongnian/code Class Usage Examples

Méthodes publiques

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

Method Details

CanExecute() public méthode

public CanExecute ( object parameter ) : bool
parameter object
Résultat bool

Execute() public méthode

public Execute ( object parameter ) : void
parameter object
Résultat void

RelayCommand() public méthode

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