C# Class RavenFS.Studio.Infrastructure.ActionCommand

Inheritance: Command
显示文件 Open project: hibernating-rhinos/RavenFS

Public Methods

Method Description
ActionCommand ( System.Action action ) : System
ActionCommand ( Action action ) : System
ActionCommand ( Action action, bool>.Func canExecute ) : 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

ActionCommand() public method

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

ActionCommand() public method

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