C# Class OS2Indberetning.ViewModel.PurposeViewModel

Viewmodel of the Purpose page. Handles all view logic
Inheritance: XLabs.Forms.Mvvm.ViewModel, INotifyPropertyChanged, IDisposable
Exibir arquivo Open project: os2indberetning/OS2_Windows_Phone

Public Methods

Method Description
Dispose ( ) : void

Method that handles cleanup of the viewmodel

PurposeViewModel ( ) : System

Constructor that handles initialization of the viewmodel

Subscribe ( ) : void

Method that handles subscribing to the needed messages

Unsubscribe ( ) : void

Method that handles unsubscribing

Protected Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
HandleBackMessage ( ) : void

Method that handles the Back message

HandleDeleteMessage ( GenericCellModel str ) : void

Method that handles the Delete message

HandleSelectedMessage ( PurposePage sender ) : void

Method that handles the Selected message

InitializeCollection ( ) : void

Method that handles initialization of the observerable collection

Method Details

Dispose() public method

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

OnPropertyChanged() protected method

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

PurposeViewModel() public method

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

Subscribe() public method

Method that handles subscribing to the needed messages
public Subscribe ( ) : void
return void

Unsubscribe() public method

Method that handles unsubscribing
public Unsubscribe ( ) : void
return void