C# Class Yatzy.Framework.SimpleCommand

Inheritance: ICommand
Afficher le fichier Open project: mesan/yatzy Class Usage Examples

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
SimpleCommand ( System.Action commandToExecute, Predicate canExecute ) : 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

SimpleCommand() public méthode

public SimpleCommand ( System.Action commandToExecute, Predicate canExecute ) : System
commandToExecute System.Action
canExecute Predicate
Résultat System