C# Class MVPtoMVVM.mvvm.viewmodels.SimpleCommand

Inheritance: IObservableCommand
Afficher le fichier Open project: arcresources/MVPtoMVVM Class Usage Examples

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
Changed ( ) : void
Execute ( object parameter ) : void
SimpleCommand ( System.Action command ) : System
SimpleCommand ( System.Action command, Func predicate ) : System

Method Details

CanExecute() public méthode

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

Changed() public méthode

public Changed ( ) : void
Résultat void

Execute() public méthode

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

SimpleCommand() public méthode

public SimpleCommand ( System.Action command ) : System
command System.Action
Résultat System

SimpleCommand() public méthode

public SimpleCommand ( System.Action command, Func predicate ) : System
command System.Action
predicate Func
Résultat System