C# Class MonkeySpace.MainViewModel

Inheritance: INotifyPropertyChanged
Datei anzeigen Open project: megsoftconsulting/MonkeySpace

Public Methods

Method 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

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

Method Details

LoadData() public method

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

LoadWhatsOn() public method

public LoadWhatsOn ( string currentConf ) : void
currentConf string
return void

MainViewModel() public method

public MainViewModel ( ) : System
return System

MakeCaption() public method

public MakeCaption ( string caption, System.DateTime start ) : string
caption string
start System.DateTime
return string

UpdateFavorite() public method

public UpdateFavorite ( MonkeySpace session, bool isFavorite ) : void
session MonkeySpace
isFavorite bool
return void