C# Class RolerFramework.Command.RolerCommand

Inheritance: ICommand
Show file Open project: rolerzhang/UWP-DevSkills

Public Methods

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

Method Details

CanExecute() public method

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

Execute() public method

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

RolerCommand() public method

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

RolerCommand() public method

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

onCanExecuteChanged() public method

public onCanExecuteChanged ( ) : void
return void