C# Class CommonLib.Mvvm.RelayCommand

Inheritance: ICommand
Mostra file Open project: jprichardson/CommonLib

Public Methods

Method Description
Execute ( object parameter ) : void
RelayCommand ( Action execute ) : System
RelayCommand ( Action execute, Func canExecute ) : System

Private Methods

Method Description
CanExecute ( object parameter ) : bool

Method Details

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, Func canExecute ) : System
execute Action
canExecute Func
return System