C# Class Kodefu.DelegateCommand

Inheritance: ICommand
Show file Open project: kodefuguru/kodefu

Public Methods

Method Description
CanExecute ( ) : bool
CanExecute ( object parameter ) : bool
DelegateCommand ( System.Action executeAction ) : System
DelegateCommand ( System.Action executeAction, Func canExecute ) : System
Execute ( ) : void
Execute ( object parameter ) : void

Method Details

CanExecute() public method

public CanExecute ( ) : bool
return bool

CanExecute() public method

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

DelegateCommand() public method

public DelegateCommand ( System.Action executeAction ) : System
executeAction System.Action
return System

DelegateCommand() public method

public DelegateCommand ( System.Action executeAction, Func canExecute ) : System
executeAction System.Action
canExecute Func
return System

Execute() public method

public Execute ( ) : void
return void

Execute() public method

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