C# Class OS2Indberetning.ViewModel.FinishDriveViewModel

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

Public Methods

Method Description
Dispose ( ) : void

Destructor

FinishDriveViewModel ( ) : System

Constructor that handles initialization of the viewmodel

Protected Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method 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 method

Destructor
public Dispose ( ) : void
return void

FinishDriveViewModel() public method

Constructor that handles initialization of the viewmodel
public FinishDriveViewModel ( ) : System
return System

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void