C# Class WebExpress.Classes.RelayCommand

Inheritance: ICommand
Mostra file Open project: Sential/WebExpress-beta

Public Methods

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

RelayCommand() public method

public RelayCommand ( System.Action methodToExecute, Func canExecuteEvaluator ) : System
methodToExecute System.Action
canExecuteEvaluator Func
return System