C# 클래스 UWP10template.Base.BaseViewModel

The class that every view model must inherit from
상속: ObservableObject
파일 보기 프로젝트 열기: mapaux/UWP10template

공개 메소드들

메소드 설명
BaseViewModel ( ) : System

Initializes a new instance of the BaseViewModel class

OnNavigatedFrom ( ) : void

Invoked when the Page of the view model is unloaded

OnNavigatedTo ( object navigationContext ) : void

Invoked when the Page of the view model is loaded

RunOnUIAsync ( DispatchedHandler value ) : System.Threading.Tasks.Task

Runs code asynchronously on the UI Thread

메소드 상세

BaseViewModel() 공개 메소드

Initializes a new instance of the BaseViewModel class
public BaseViewModel ( ) : System
리턴 System

OnNavigatedFrom() 공개 메소드

Invoked when the Page of the view model is unloaded
public OnNavigatedFrom ( ) : void
리턴 void

OnNavigatedTo() 공개 메소드

Invoked when the Page of the view model is loaded
public OnNavigatedTo ( object navigationContext ) : void
navigationContext object The parameters passed by the previous view model
리턴 void

RunOnUIAsync() 공개 메소드

Runs code asynchronously on the UI Thread
public RunOnUIAsync ( DispatchedHandler value ) : System.Threading.Tasks.Task
value DispatchedHandler The function to be executed
리턴 System.Threading.Tasks.Task