C# Class GenericCommandDemo.ActionCommand

Inheritance: ICommand
Afficher le fichier Open project: markrendle/FunctionalAlchemy

Méthodes publiques

Méthode Description
ActionCommand ( System.Action execute ) : System
ActionCommand ( System.Action execute, Func canExecute ) : System
ActionCommand ( Action execute ) : System
ActionCommand ( Action execute, bool>.Func canExecute ) : System
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void

Method Details

ActionCommand() public méthode

public ActionCommand ( System.Action execute ) : System
execute System.Action
Résultat System

ActionCommand() public méthode

public ActionCommand ( System.Action execute, Func canExecute ) : System
execute System.Action
canExecute Func
Résultat System

ActionCommand() public méthode

public ActionCommand ( Action execute ) : System
execute Action
Résultat System

ActionCommand() public méthode

public ActionCommand ( Action execute, bool>.Func canExecute ) : System
execute Action
canExecute bool>.Func
Résultat System

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