C# Class NScumm.MonoGame.ViewModels.DelegateCommand

Inheritance: ICommand
Mostrar archivo Open project: scemino/nscumm

Public Methods

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

Method Details

CanExecute() public method

public CanExecute ( object parameter ) : bool
parameter object
return bool

DelegateCommand() public method

public DelegateCommand ( System.Action action, Func canExecute = null ) : System
action System.Action
canExecute Func
return System

Execute() public method

public Execute ( object parameter ) : void
parameter object
return void

RaiseCanExecuteChanged() public method

public RaiseCanExecuteChanged ( ) : void
return void