C# 클래스 MonkeySpace.MainViewModel

상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: megsoftconsulting/MonkeySpace

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
FormatDate ( System.DateTime date, System.DateTime now ) : string
NotifyPropertyChanged ( String propertyName ) : void

메소드 상세

LoadData() 공개 메소드

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

LoadWhatsOn() 공개 메소드

public LoadWhatsOn ( string currentConf ) : void
currentConf string
리턴 void

MainViewModel() 공개 메소드

public MainViewModel ( ) : System
리턴 System

MakeCaption() 공개 메소드

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

UpdateFavorite() 공개 메소드

public UpdateFavorite ( MonkeySpace session, bool isFavorite ) : void
session MonkeySpace
isFavorite bool
리턴 void