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

Inheritance: INotifyPropertyChanged
Mostra file Open project: sozialhelden/wheelmap-wp7

Public Methods

Method 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

Protected Methods

Method Description
HandleError ( Exception ex ) : void

Private Methods

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

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

HandleError() protected method

protected HandleError ( Exception ex ) : void
ex System.Exception
return void

LoadData() public method

public LoadData ( ) : void
return void

MainViewModel() public method

public MainViewModel ( ) : System
return System

actionLoadCategories() public method

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