C# 클래스 Zetbox.Client.Presentables.ActionViewModel

상속: CommandViewModel
파일 보기 프로젝트 열기: daszat/zetbox

공개 메소드들

메소드 설명
ActionViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, IDataObject obj, Method m ) : System
CanExecute ( object data ) : bool
Execute ( ) : void

Execute the modelled Method.

Execute ( System.Action callback ) : void

Execute the modelled Method. The callback will be called back on the UI thread after the execution has finished.

보호된 메소드들

메소드 설명
DoExecute ( object data ) : void

비공개 메소드들

메소드 설명
HandleResult ( object result, object callback ) : void
MethodPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

메소드 상세

ActionViewModel() 공개 메소드

public ActionViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, IDataObject obj, Method m ) : System
appCtx IViewModelDependencies
dataCtx IZetboxContext
parent Zetbox.Client.Presentables.ViewModel
obj IDataObject
m Method
리턴 System

CanExecute() 공개 메소드

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

DoExecute() 보호된 메소드

protected DoExecute ( object data ) : void
data object
리턴 void

Execute() 공개 메소드

Execute the modelled Method.
public Execute ( ) : void
리턴 void

Execute() 공개 메소드

Execute the modelled Method. The callback will be called back on the UI thread after the execution has finished.
public Execute ( System.Action callback ) : void
callback System.Action A callback or null
리턴 void