C# 클래스 MyDriving.Helpers.RelayCommand

상속: ICommand
파일 보기 프로젝트 열기: Azure-Samples/MyDriving

공개 메소드들

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

Method used to raise the CanExecuteChanged event to indicate that the return value of the CanExecute method has changed.

RelayCommand ( System.Action handler, Func canExecute = null ) : System

메소드 상세

CanExecute() 공개 메소드

public CanExecute ( object parameter ) : bool
parameter object
리턴 bool

Execute() 공개 메소드

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

RaiseCanExecuteChanged() 공개 메소드

Method used to raise the CanExecuteChanged event to indicate that the return value of the CanExecute method has changed.
public RaiseCanExecuteChanged ( ) : void
리턴 void

RelayCommand() 공개 메소드

public RelayCommand ( System.Action handler, Func canExecute = null ) : System
handler System.Action
canExecute Func
리턴 System