C# Class Sozialhelden.Wheelmap.Lib.ViewModel.MainViewModel

Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: sozialhelden/wheelmap-wp7

Méthodes publiques

Méthode Description
GetCategorie ( string identifier ) : CategoryViewModel

Find a Category ind the Categories Collection. Id it does not exist we create a new object

LoadData ( ) : void
MainViewModel ( ) : System
actionLoadCategories ( ) : void

load alle categories from Server and fill into Categories Collection the collection will be updated and not cleared

Méthodes protégées

Méthode Description
HandleError ( Exception ex ) : void

Private Methods

Méthode Description
InitCommands ( ) : List

Inits the commands.

RaiseCurrentPositionChanged ( System gc ) : void
actionCmd1 ( ) : void
actionCmd2 ( ) : void
callbackCurrentPositionRefreshTimer_Tick ( object sender, EventArgs e ) : void

Handles the Tick event of the CurrentPositionRefreshTimer

callbackCurrentPositionWatcher_StatusChanged ( object sender, System e ) : void

Handles the StatusChanged event of the CurrentPositionWatcher

initGeoWatcher ( ) : void

starts a geoposition watcher

Method Details

GetCategorie() public méthode

Find a Category ind the Categories Collection. Id it does not exist we create a new object
public GetCategorie ( string identifier ) : CategoryViewModel
identifier string
Résultat CategoryViewModel

HandleError() protected méthode

protected HandleError ( Exception ex ) : void
ex System.Exception
Résultat void

LoadData() public méthode

public LoadData ( ) : void
Résultat void

MainViewModel() public méthode

public MainViewModel ( ) : System
Résultat System

actionLoadCategories() public méthode

load alle categories from Server and fill into Categories Collection the collection will be updated and not cleared
public actionLoadCategories ( ) : void
Résultat void