C# Class Godot.IcsEditor.Ui.ViewModel.ActionCommand

Inheritance: ICommand
Datei anzeigen Open project: Slesa/Playground

Public Methods

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