C# Class MvvmCross.Core.ViewModels.MvxCommand

Inheritance: MvxCommandBase, IMvxCommand
Mostrar archivo Open project: MvvmCross/MvvmCross Class Usage Examples

Public Methods

Method Description
CanExecute ( ) : bool
CanExecute ( object parameter ) : bool
Execute ( ) : void
Execute ( object parameter ) : void
MvxCommand ( System.Action execute ) : System
MvxCommand ( System.Action execute, Func canExecute ) : System

Method Details

CanExecute() public method

public CanExecute ( ) : bool
return bool

CanExecute() public method

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

Execute() public method

public Execute ( ) : void
return void

Execute() public method

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

MvxCommand() public method

public MvxCommand ( System.Action execute ) : System
execute System.Action
return System

MvxCommand() public method

public MvxCommand ( System.Action execute, Func canExecute ) : System
execute System.Action
canExecute Func
return System