C# Class Extensible.Dashboard.Contracts.Common.RelayCommand

Inheritance: ICommand
Afficher le fichier Open project: pwlodek/CodeGallery

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RelayCommand ( Action executeMethod ) : System
RelayCommand ( Action executeMethod, Predicate canExecuteMethod ) : System

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 executeMethod ) : System
executeMethod Action
Résultat System

RelayCommand() public méthode

public RelayCommand ( Action executeMethod, Predicate canExecuteMethod ) : System
executeMethod Action
canExecuteMethod Predicate
Résultat System