C# Class SonarLint.VisualStudio.Integration.WPF.RelayCommand

A command whose sole purpose is to relay its functionality to other objects by invoking delegates. The default return value for the CanExecute method is 'True'.
Inheritance: RelayCommandBase
Afficher le fichier Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Méthodes publiques

Méthode Description
CanExecute ( ) : bool
Execute ( ) : void
RelayCommand ( System.Action execute ) : System
RelayCommand ( System.Action execute, Func canExecute ) : System

Méthodes protégées

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

Method Details

CanExecute() public méthode

public CanExecute ( ) : bool
Résultat bool

CanExecute() protected méthode

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

Execute() public méthode

public Execute ( ) : void
Résultat void

Execute() protected méthode

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

RelayCommand() public méthode

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

RelayCommand() public méthode

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