C# 클래스 FormsAnimations.Comanding.AsyncCommand

Example inspired from: 1) http://enumeratethis.com/2012/06/14/asynchronous-commands-in-metro-wpf-silverlight/ 2) https://msdn.microsoft.com/en-us/magazine/dn630647.aspx
상속: IAsyncCommand
파일 보기 프로젝트 열기: michaeled/FormsAnimations

공개 메소드들

메소드 설명
AsyncCommand ( Task>.Func execute ) : System
AsyncCommand ( Task>.Func execute, bool>.Func canExecute ) : System
CanExecute ( object parameter ) : bool
Execute ( object parameter ) : void
ExecuteAsync ( object parameter ) : System.Threading.Tasks.Task

보호된 메소드들

메소드 설명
OnCanExecuteChanged ( ) : void

메소드 상세

AsyncCommand() 공개 메소드

public AsyncCommand ( Task>.Func execute ) : System
execute Task>.Func
리턴 System

AsyncCommand() 공개 메소드

public AsyncCommand ( Task>.Func execute, bool>.Func canExecute ) : System
execute Task>.Func
canExecute bool>.Func
리턴 System

CanExecute() 공개 메소드

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

Execute() 공개 메소드

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

ExecuteAsync() 공개 메소드

public ExecuteAsync ( object parameter ) : System.Threading.Tasks.Task
parameter object
리턴 System.Threading.Tasks.Task

OnCanExecuteChanged() 보호된 메소드

protected OnCanExecuteChanged ( ) : void
리턴 void