C# Class wpf_player.AlwaysExecuteCommand

Command that execute always without any can execute condition
Inheritance: ICommand
Mostra file Open project: zencoders/sambatyon Class Usage Examples

Public Methods

Method Description
AlwaysExecuteCommand ( Action executeDelegate ) : System

Class constructor

CanExecute ( object parameter ) : bool

Can Execute function that always returns true

Execute ( object parameter ) : void

Executes the assinged delegate

Method Details

AlwaysExecuteCommand() public method

Class constructor
public AlwaysExecuteCommand ( Action executeDelegate ) : System
executeDelegate Action Delegate to execute
return System

CanExecute() public method

Can Execute function that always returns true
public CanExecute ( object parameter ) : bool
parameter object
return bool

Execute() public method

Executes the assinged delegate
public Execute ( object parameter ) : void
parameter object
return void