C# 클래스 GenericCommandDemo.ActionCommand

상속: ICommand
파일 보기 프로젝트 열기: markrendle/FunctionalAlchemy

공개 메소드들

메소드 설명
ActionCommand ( System.Action execute ) : System
ActionCommand ( System.Action execute, Func canExecute ) : System
ActionCommand ( Action execute ) : System
ActionCommand ( Action execute, bool>.Func canExecute ) : System
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void

메소드 상세

ActionCommand() 공개 메소드

public ActionCommand ( System.Action execute ) : System
execute System.Action
리턴 System

ActionCommand() 공개 메소드

public ActionCommand ( System.Action execute, Func canExecute ) : System
execute System.Action
canExecute Func
리턴 System

ActionCommand() 공개 메소드

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

ActionCommand() 공개 메소드

public ActionCommand ( Action execute, bool>.Func canExecute ) : System
execute Action
canExecute bool>.Func
리턴 System

CanExecute() 공개 메소드

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

Execute() 공개 메소드

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