C# 클래스 OS2Indberetning.ViewModel.LoginViewModel

Viewmodel to the Login page. Setups the list for display in the page and handles pushing to the couple page with the correct model
상속: XLabs.Forms.Mvvm.ViewModel, INotifyPropertyChanged, IDisposable
파일 보기 프로젝트 열기: os2indberetning/OS2_Windows_Phone

공개 메소드들

메소드 설명
Dispose ( ) : void

Method that handles cleanup of the viewmodel

LoginViewModel ( ) : System

Constructor that handles initialization of the viewmodel

OnSelectedItem ( MunCellModel selectedItem ) : void

Method called from the page when an item is Selected. It pushes a coupling page initialized to the Selected Municipality. Used instead of messagingcenter

보호된 메소드들

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

비공개 메소드들

메소드 설명
CallApi ( ) : void

Method that handles the call to API service and directs the result

HandleRefreshMessage ( ) : void

Method that handles the call to API service and directs the result

InitList ( List resultList ) : void

Method that initializes the Municipality list

Subscribe ( ) : void

Method that handles subscribing to the needed messages

Unsubscribe ( ) : void

Method that handles unsubscribing

메소드 상세

Dispose() 공개 메소드

Method that handles cleanup of the viewmodel
public Dispose ( ) : void
리턴 void

LoginViewModel() 공개 메소드

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

OnPropertyChanged() 보호된 메소드

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

OnSelectedItem() 공개 메소드

Method called from the page when an item is Selected. It pushes a coupling page initialized to the Selected Municipality. Used instead of messagingcenter
public OnSelectedItem ( MunCellModel selectedItem ) : void
selectedItem OS2Indberetning.Model.MunCellModel
리턴 void