C# Class MonkeySpace.MainViewModel

Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: megsoftconsulting/MonkeySpace

Méthodes publiques

Méthode Description
LoadData ( ) : void

Creates and adds a few ItemViewModel objects into the Items collection.

LoadWhatsOn ( string currentConf ) : void
MainViewModel ( ) : System
MakeCaption ( string caption, System.DateTime start ) : string
UpdateFavorite ( MonkeySpace session, bool isFavorite ) : void

Private Methods

Méthode Description
FormatDate ( System.DateTime date, System.DateTime now ) : string
NotifyPropertyChanged ( String propertyName ) : void

Method Details

LoadData() public méthode

Creates and adds a few ItemViewModel objects into the Items collection.
public LoadData ( ) : void
Résultat void

LoadWhatsOn() public méthode

public LoadWhatsOn ( string currentConf ) : void
currentConf string
Résultat void

MainViewModel() public méthode

public MainViewModel ( ) : System
Résultat System

MakeCaption() public méthode

public MakeCaption ( string caption, System.DateTime start ) : string
caption string
start System.DateTime
Résultat string

UpdateFavorite() public méthode

public UpdateFavorite ( MonkeySpace session, bool isFavorite ) : void
session MonkeySpace
isFavorite bool
Résultat void