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

Inheritance: ICommand
Afficher le fichier Open project: Slesa/Playground

Méthodes publiques

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

Method Details

ActionCommand() public méthode

public ActionCommand ( Action execute ) : System
execute Action
Résultat System

ActionCommand() public méthode

public ActionCommand ( Action execute, bool>.Func canExecute ) : System
execute Action
canExecute bool>.Func
Résultat System

CanExecute() public méthode

public CanExecute ( object parameter ) : bool
parameter object
Résultat bool

Execute() public méthode

public Execute ( object parameter ) : void
parameter object
Résultat void