C# Class Yatzy.Framework.SimpleCommand

Inheritance: ICommand
Show file Open project: mesan/yatzy Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
SimpleCommand ( System.Action commandToExecute, Predicate canExecute ) : 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

SimpleCommand() public method

public SimpleCommand ( System.Action commandToExecute, Predicate canExecute ) : System
commandToExecute System.Action
canExecute Predicate
return System