C# Class WorkshopDemo.DelegateCommand

Inheritance: ICommand
Datei anzeigen Open project: Slesa/Playground Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
DelegateCommand ( Action execute ) : System
DelegateCommand ( Action execute, Predicate canExecute ) : System
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Method Details

CanExecute() public method

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

DelegateCommand() public method

public DelegateCommand ( Action execute ) : System
execute Action
return System

DelegateCommand() public method

public DelegateCommand ( Action execute, Predicate canExecute ) : System
execute Action
canExecute Predicate
return System

Execute() public method

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

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void