C# Class KeyCommandsLab.InputBindingCommand

Inheritance: ICommand
Datei anzeigen Open project: danielwertheim/InputBindingCommand-Lab

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
If ( Func canExecutePredicate ) : InputBindingCommand
If ( bool>.Func canExecutePredicate ) : InputBindingCommand
InputBindingCommand ( System.Action executeDelegate ) : System
InputBindingCommand ( Action executeDelegate ) : System

Method Details

CanExecute() public method

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

Execute() public method

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

If() public method

public If ( Func canExecutePredicate ) : InputBindingCommand
canExecutePredicate Func
return InputBindingCommand

If() public method

public If ( bool>.Func canExecutePredicate ) : InputBindingCommand
canExecutePredicate bool>.Func
return InputBindingCommand

InputBindingCommand() public method

public InputBindingCommand ( System.Action executeDelegate ) : System
executeDelegate System.Action
return System

InputBindingCommand() public method

public InputBindingCommand ( Action executeDelegate ) : System
executeDelegate Action
return System