C# 클래스 SysInternalsUpdater.RelayCommand

Helper class for implementing ICommand
상속: ICommand
파일 보기 프로젝트 열기: Gordon-Beeming/Sys-Internals-Updater 1 사용 예제들

공개 메소드들

메소드 설명
Execute ( object parameter ) : void
InvokeCanExecuteChanged ( ) : void

Call this when you know something about this command's ability to execute changed.

RelayCommand ( Action execute ) : System
RelayCommand ( Action execute, Predicate canExecute ) : System

비공개 메소드들

메소드 설명
CanExecute ( object parameter ) : bool

메소드 상세

Execute() 공개 메소드

public Execute ( object parameter ) : void
parameter object
리턴 void

InvokeCanExecuteChanged() 공개 메소드

Call this when you know something about this command's ability to execute changed.
public InvokeCanExecuteChanged ( ) : void
리턴 void

RelayCommand() 공개 메소드

public RelayCommand ( Action execute ) : System
execute Action
리턴 System

RelayCommand() 공개 메소드

public RelayCommand ( Action execute, Predicate canExecute ) : System
execute Action
canExecute Predicate
리턴 System