C# Class OS2Indberetning.ViewModel.FinishDriveViewModel

Viewmodel that handles the view logic of FinishDrivePage
Inheritance: XLabs.Forms.Mvvm.ViewModel, INotifyPropertyChanged, IDisposable
Afficher le fichier Open project: os2indberetning/OS2_Windows_Phone

Méthodes publiques

Méthode Description
Dispose ( ) : void

Destructor

FinishDriveViewModel ( ) : System

Constructor that handles initialization of the viewmodel

Méthodes protégées

Méthode Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Méthode Description
HandleDeleteMessage ( object sender ) : void

Method that handles a Back message from the page Calls dispose, sets report route to null and navigates to mainpage

HandleHomeToBorderDistanceMessage ( FinishDrivePage sender ) : void

Method that handles a HomeToBorderDistance message from the page

HandleNewKmMessage ( FinishDrivePage sender ) : void

Method that handles a NewKm message from the page

HandleOrganizationMessage ( ) : void

Method that handles a Organization message from the page

HandlePurposeMessage ( ) : void

Method that handles a Purpose message from the page

HandleRateMessage ( ) : void

Method that handles a Rate message from the page

HandleRemarkMessage ( ) : void

Method that handles a Remark message from the page

HandleSelectEditKmMessage ( FinishDrivePage sender ) : void

Method that handles a select editKm message from the page

HandleSelectHomeToBorderDistanceMessage ( FinishDrivePage sender ) : void

Method that handles a select hometoborderdistance message from the page

HandleUpdateMessage ( ) : void

Method that handles a Update message from the page

InitializeCollection ( ) : void

Method that handles initialization of the observerable collection

Subscribe ( ) : void

Method that subscribes to nessecary calls

Unsubscribe ( ) : void

Method that handles all unsubscribing

UploadHandler ( ) : void

Method that handles a Upload message from the page Calls dispose and navigates to uploadingpage

Method Details

Dispose() public méthode

Destructor
public Dispose ( ) : void
Résultat void

FinishDriveViewModel() public méthode

Constructor that handles initialization of the viewmodel
public FinishDriveViewModel ( ) : System
Résultat System

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
Résultat void