C# 클래스 OS2Indberetning.ViewModel.MainViewModel

Viewmodel of the Main page. Handles all view logic
상속: XLabs.Forms.Mvvm.ViewModel, INotifyPropertyChanged
파일 보기 프로젝트 열기: os2indberetning/OS2_Windows_Phone

공개 메소드들

메소드 설명
MainViewModel ( ) : System

Constructor that handles initialization of the viewmodel

보호된 메소드들

메소드 설명
OnPropertyChanged ( string propertyName ) : void

비공개 메소드들

메소드 설명
CheckLoginStatus ( ) : void
HandleLogoutMessage ( ) : void

Method that handles the Logout message

HandleSelectedMessage ( System.MainPage sender ) : void

Method that handles the Selected message

InitializeCollection ( ) : void

Method that handles initialization of the observerable collection

Subscribe ( ) : void

Method that handles subscribing to the needed messages

Unsubscribe ( ) : void

Method that handles unsubscribing Since this page is only created once, we dont unsubscribe

메소드 상세

MainViewModel() 공개 메소드

Constructor that handles initialization of the viewmodel
public MainViewModel ( ) : System
리턴 System

OnPropertyChanged() 보호된 메소드

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
리턴 void