C# Class DistanceAndDirectionLibrary.Helpers.RelayCommand

Inheritance: ICommand
Afficher le fichier Open project: Esri/distance-direction-addin-dotnet Class Usage Examples

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RelayCommand ( Action execute ) : System
RelayCommand ( Action execute, Predicate canExecute ) : 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

RelayCommand() public méthode

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

RelayCommand() public méthode

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