C# Class GitHub.Authentication.Helpers.ActionCommand

Command that performs the specified action when invoked.
Inheritance: ICommand
ファイルを表示 Open project: Microsoft/Git-Credential-Manager-for-Windows Class Usage Examples

Public Methods

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

Method Details

ActionCommand() public method

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

ActionCommand() public method

public ActionCommand ( Action commandAction ) : System
commandAction 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