C# 클래스 Yatzy.Framework.SimpleCommand

상속: ICommand
파일 보기 프로젝트 열기: mesan/yatzy 1 사용 예제들

공개 메소드들

메소드 설명
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
SimpleCommand ( System.Action commandToExecute, Predicate canExecute ) : System

메소드 상세

CanExecute() 공개 메소드

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

Execute() 공개 메소드

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

SimpleCommand() 공개 메소드

public SimpleCommand ( System.Action commandToExecute, Predicate canExecute ) : System
commandToExecute System.Action
canExecute Predicate
리턴 System