C# Class ReversiEight.Common.DelegateCommand

Inheritance: ICommand
Afficher le fichier Open project: ColinEberhardt/ReversiEight

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
DelegateCommand ( System.Action executeMethod ) : System
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Méthodes protégées

Méthode Description
OnCanExecuteChanged ( EventArgs e ) : void

Method Details

CanExecute() public méthode

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

DelegateCommand() public méthode

public DelegateCommand ( System.Action executeMethod ) : System
executeMethod System.Action
Résultat System

Execute() public méthode

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

OnCanExecuteChanged() protected méthode

protected OnCanExecuteChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

RaiseCanExecuteChanged() public méthode

public RaiseCanExecuteChanged ( ) : void
Résultat void