C# Class MVPtoMVVM.mvvm.viewmodels.SimpleCommand

Inheritance: IObservableCommand
Show file Open project: arcresources/MVPtoMVVM Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Changed ( ) : void
Execute ( object parameter ) : void
SimpleCommand ( System.Action command ) : System
SimpleCommand ( System.Action command, Func predicate ) : System

Method Details

CanExecute() public method

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

Changed() public method

public Changed ( ) : void
return void

Execute() public method

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

SimpleCommand() public method

public SimpleCommand ( System.Action command ) : System
command System.Action
return System

SimpleCommand() public method

public SimpleCommand ( System.Action command, Func predicate ) : System
command System.Action
predicate Func
return System