C# Class Wrox.ProCSharp.Composition.DelegateCommand

Inheritance: ICommand
Afficher le fichier Open project: ProfessionalCSharp/ProfessionalCSharp6 Class Usage Examples

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
DelegateCommand ( System.Action execute ) : System
DelegateCommand ( System.Action execute, Func canExecute ) : System
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : 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 execute ) : System
execute System.Action
Résultat System

DelegateCommand() public méthode

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

Execute() public méthode

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

RaiseCanExecuteChanged() public méthode

public RaiseCanExecuteChanged ( ) : void
Résultat void