C# Class SerialComm.ViewModel.RelayCommand

Inheritance: ICommand
Afficher le fichier Open project: heiswayi/SerialComm

Méthodes publiques

Méthode Description
Execute ( object parameters ) : void
RelayCommand ( Action execute ) : System

Creates a new command that can always execute.

RelayCommand ( Action execute, Predicate canExecute ) : System

Creates a new command.

Private Methods

Méthode Description
CanExecute ( object parameters ) : bool

Method Details

Execute() public méthode

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

RelayCommand() public méthode

Creates a new command that can always execute.
public RelayCommand ( Action execute ) : System
execute Action The execution logic.
Résultat System

RelayCommand() public méthode

Creates a new command.
public RelayCommand ( Action execute, Predicate canExecute ) : System
execute Action The execution logic.
canExecute Predicate The execution status logic.
Résultat System