C# 클래스 wpf_player.AlwaysExecuteCommand

Command that execute always without any can execute condition
상속: ICommand
파일 보기 프로젝트 열기: zencoders/sambatyon 1 사용 예제들

공개 메소드들

메소드 설명
AlwaysExecuteCommand ( Action executeDelegate ) : System

Class constructor

CanExecute ( object parameter ) : bool

Can Execute function that always returns true

Execute ( object parameter ) : void

Executes the assinged delegate

메소드 상세

AlwaysExecuteCommand() 공개 메소드

Class constructor
public AlwaysExecuteCommand ( Action executeDelegate ) : System
executeDelegate Action Delegate to execute
리턴 System

CanExecute() 공개 메소드

Can Execute function that always returns true
public CanExecute ( object parameter ) : bool
parameter object
리턴 bool

Execute() 공개 메소드

Executes the assinged delegate
public Execute ( object parameter ) : void
parameter object
리턴 void