C# Class OS2Indberetning.ViewModel.StoredReportsViewModel

Viewmodel of the StoredReports page. Handles all view logic
Inheritance: XLabs.Forms.Mvvm.ViewModel, INotifyPropertyChanged, IDisposable
ファイルを表示 Open project: os2indberetning/OS2_Windows_Phone

Public Methods

Method Description
Dispose ( ) : void

Destructor

StoredReportsViewModel ( ) : System

Constructor that handles initialization of the viewmodel

Protected Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
HandleBackMessage ( ) : void

Method that handles a Back message from the page Calls dispose and pops to root

HandleRemoveMessage ( StoredReportsPage sender ) : void

Method that handles the Remove message

HandleUploadMessage ( StoredReportsPage sender ) : void

Method that handles the Upload message

HandleUploadResult ( ReturnUserModel model, StoredReportsPage page ) : void

Method that handles the upload result

InitializeCollection ( List list ) : void

Method that handles initialization of the observerable collection

RemoveItemFromList ( StoredReportCellModel item, StoredReportsPage page ) : void

Method that removes an item from the stored list

Subscribe ( ) : void

Method that subscribes to nessecary calls

Unsubscribe ( ) : void

Method that handles all unsubscribing

Method Details

Dispose() public method

Destructor
public Dispose ( ) : void
return void

OnPropertyChanged() protected method

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

StoredReportsViewModel() public method

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