C# Class MvvmSample.ActionCommand

Inheritance: ICommand
Show file Open project: timothybinkley/Windows-Phone-8-In-Action

Public Methods

Method Description
ActionCommand ( System.Action action ) : System
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void

Method Details

ActionCommand() public method

public ActionCommand ( System.Action action ) : System
action System.Action
return System

CanExecute() public method

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

Execute() public method

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