C# Class CoordinateConversionLibrary.Helpers.RelayCommand

Inheritance: ICommand
Exibir arquivo Open project: Esri/coordinate-conversion-addin-dotnet Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RelayCommand ( Action execute ) : System
RelayCommand ( Action execute, Predicate canExecute ) : System

Method Details

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool

Execute() public method

public Execute ( object parameter ) : void
parameter object
return void

RelayCommand() public method

public RelayCommand ( Action execute ) : System
execute Action
return System

RelayCommand() public method

public RelayCommand ( Action execute, Predicate canExecute ) : System
execute Action
canExecute Predicate
return System