C# Class MahTweets2.Commands.ActionCommand

Inheritance: ICommand
显示文件 Open project: nickhodge/MahTweets.LawrenceHargrave

Private Properties

Property Type Description

Public Methods

Method Description
ActionCommand ( Action execute ) : System
ActionCommand ( bool>.Func canExecute, Action execute ) : System
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void

Method Details

ActionCommand() public method

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

ActionCommand() public method

public ActionCommand ( bool>.Func canExecute, Action execute ) : System
canExecute bool>.Func
execute 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