C# 클래스 Zetbox.Client.WPF.Commands.RelayCommand

Adapted from http://msdn.microsoft.com/en-us/magazine/dd419663.aspx#id0090030 , "Relaying Command Logic"
상속: ICommand
파일 보기 프로젝트 열기: daszat/zetbox

공개 메소드들

메소드 설명
RelayCommand ( Action execute ) : System
RelayCommand ( Action execute, Predicate canExecute ) : System

비공개 메소드들

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

메소드 상세

RelayCommand() 공개 메소드

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

RelayCommand() 공개 메소드

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