C# Class MemExchange.Client.UI.Resources.RelayCommand

Inheritance: ICommand
Datei anzeigen Open project: ThomasVestergaard/MemExchange Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
RelayCommand ( System.Action execute ) : System
RelayCommand ( System.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 ( System.Action execute ) : System
execute System.Action
return System

RelayCommand() public method

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