C# Class NScumm.MonoGame.ViewModels.DelegateCommand

Inheritance: ICommand
Afficher le fichier Open project: scemino/nscumm

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
DelegateCommand ( System.Action action, Func canExecute = null ) : System
Execute ( object parameter ) : void
RaiseCanExecuteChanged ( ) : void

Method Details

CanExecute() public méthode

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

DelegateCommand() public méthode

public DelegateCommand ( System.Action action, Func canExecute = null ) : System
action System.Action
canExecute Func
Résultat System

Execute() public méthode

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

RaiseCanExecuteChanged() public méthode

public RaiseCanExecuteChanged ( ) : void
Résultat void