C# Class DvachBrowser.ViewModels.PostListViewModel

Inheritance: LoadingBaseViewModel
Datei anzeigen Open project: vortexwolf/2ch-Browser-WP7 Class Usage Examples

Public Methods

Method Description
Load ( string boardName, string threadNumber ) : void
NavigateAddPostPage ( ) : void
NavigateBoardsPage ( ) : void
NavigateToLink ( PostItemViewModel item, Hyperlink link ) : void
PostListViewModel ( System.Windows.Controls.Panel popupPlaceholder ) : System
Refresh ( ) : void
ReplyToSelectedPost ( ) : void
ShowError ( string message ) : void
ShowReplies ( PostItemViewModel item ) : void
UpdatePosts ( ) : void

Private Methods

Method Description
AddModel ( PostItemModel model, int index ) : void
AddPosts ( PostListModel postList ) : void
ArrangeReferences ( PostItemViewModel model ) : void
NavigateToBrowser ( Uri uri ) : void
OnPostsLoaded ( PostListModel responseObject ) : void
OnPostsLoadedAfterUpdate ( PostListModel responseObject ) : void
ShowErrorAfterUpdate ( string message ) : void

Method Details

Load() public method

public Load ( string boardName, string threadNumber ) : void
boardName string
threadNumber string
return void

NavigateAddPostPage() public method

public NavigateAddPostPage ( ) : void
return void

NavigateBoardsPage() public method

public NavigateBoardsPage ( ) : void
return void

NavigateToLink() public method

public NavigateToLink ( PostItemViewModel item, Hyperlink link ) : void
item PostItemViewModel
link System.Windows.Documents.Hyperlink
return void

PostListViewModel() public method

public PostListViewModel ( System.Windows.Controls.Panel popupPlaceholder ) : System
popupPlaceholder System.Windows.Controls.Panel
return System

Refresh() public method

public Refresh ( ) : void
return void

ReplyToSelectedPost() public method

public ReplyToSelectedPost ( ) : void
return void

ShowError() public method

public ShowError ( string message ) : void
message string
return void

ShowReplies() public method

public ShowReplies ( PostItemViewModel item ) : void
item PostItemViewModel
return void

UpdatePosts() public method

public UpdatePosts ( ) : void
return void