C# Class OS2Indberetning.ViewModel.UploadingViewModel

Viewmodel of the Uploading page. Handles all view logic
Inheritance: XLabs.Forms.Mvvm.ViewModel, INotifyPropertyChanged, IDisposable
Mostrar archivo Open project: os2indberetning/OS2_Windows_Phone

Public Methods

Method Description
Dispose ( ) : void

Method that handles cleanup of the viewmodel

HandleUploadMessage ( UploadingPage sender ) : void

Method that handles the Upload message

UploadingViewModel ( ) : System

Constructor that handles initialization of the viewmodel

Protected Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
HandleStoreMessage ( UploadingPage sender ) : void

Method that handles the Store message

HandleUploadResult ( ReturnUserModel model, object sender ) : void

Method that handles the Upload Result

RotateSpinner ( ) : void

Method that handles the rotation of the spinner

Subscribe ( ) : void

Method that handles subscribing to the needed messages

Unsubscribe ( ) : void

Method that handles unsubscribing

Method Details

Dispose() public method

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

HandleUploadMessage() public method

Method that handles the Upload message
public HandleUploadMessage ( UploadingPage sender ) : void
sender UploadingPage
return void

OnPropertyChanged() protected method

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

UploadingViewModel() public method

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