C# Class MyDriving.Helpers.RelayCommand

Inheritance: ICommand
Afficher le fichier Open project: Azure-Samples/MyDriving

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Method used to raise the CanExecuteChanged event to indicate that the return value of the CanExecute method has changed.

RelayCommand ( System.Action handler, Func canExecute = null ) : 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

RaiseCanExecuteChanged() public méthode

Method used to raise the CanExecuteChanged event to indicate that the return value of the CanExecute method has changed.
public RaiseCanExecuteChanged ( ) : void
Résultat void

RelayCommand() public méthode

public RelayCommand ( System.Action handler, Func canExecute = null ) : System
handler System.Action
canExecute Func
Résultat System