C# Class TfsWitAdminTools.ViewModel.DelegateCommand

Inheritance: ICommand
显示文件 Open project: Fermium-co/TfsWitAdminTools Class Usage Examples

Public Methods

Method Description
CanExecute ( object parameter ) : bool
DelegateCommand ( System.Action execute, 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 execute, Func canExecute = null ) : System
execute 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