C# Class Livet.Commands.ViewModelCommand

Inheritance: Command, ICommand, INotifyPropertyChanged
显示文件 Open project: ugaya40/Livet2 Class Usage Examples

Public Methods

Method Description
Execute ( ) : void
ViewModelCommand ( System.Action execute ) : System
ViewModelCommand ( System.Action execute, Func canExecute ) : System

Private Methods

Method Description
ICommand ( object parameter ) : bool
ICommand ( object parameter ) : void
OnPropertyChanged ( ) : void
RaiseCanExecuteChanged ( ) : void

Method Details

Execute() public method

public Execute ( ) : void
return void

ViewModelCommand() public method

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

ViewModelCommand() public method

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