C# Class MundlTransit.WP8.ViewModels.FavoritesViewModel

Inheritance: Caliburn.Micro.Screen, IStationPicker
Exibir arquivo Open project: christophwille/viennarealtime Class Usage Examples

Public Methods

Method Description
FavoritesViewModel ( INavigationService navigationService, IDataService ds, IUIService uisvc ) : System
LoadFavoritesAsync ( ) : System.Threading.Tasks.Task
PinToStart ( object sender, Favorite item ) : void
Remove ( object sender, Favorite item ) : void
ShowFavorite ( object sender ) : void

Protected Methods

Method Description
SetNoResultsFound ( ) : void
SetResultsFound ( ) : void

Private Methods

Method Description
FindTile ( string partOfUri ) : ShellTile
FixUpBindingIssue ( object sender ) : void
PerformRemovalAsync ( Favorite item ) : System.Threading.Tasks.Task

Method Details

FavoritesViewModel() public method

public FavoritesViewModel ( INavigationService navigationService, IDataService ds, IUIService uisvc ) : System
navigationService INavigationService
ds IDataService
uisvc IUIService
return System

LoadFavoritesAsync() public method

public LoadFavoritesAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

PinToStart() public method

public PinToStart ( object sender, Favorite item ) : void
sender object
item MundlTransit.WP8.Data.Runtime.Favorite
return void

Remove() public method

public Remove ( object sender, Favorite item ) : void
sender object
item MundlTransit.WP8.Data.Runtime.Favorite
return void

SetNoResultsFound() protected method

protected SetNoResultsFound ( ) : void
return void

SetResultsFound() protected method

protected SetResultsFound ( ) : void
return void

ShowFavorite() public method

public ShowFavorite ( object sender ) : void
sender object
return void