C# Class TheChan.ViewModels.HomeViewModel

Inheritance: Tab
Mostrar archivo Open project: acedened/TheChan

Private Properties

Property Type Description
CreateCategoryWithAllowedBoards BoardsCategory
NavigateToBoard void
NavigateToPost void
NavigateToThread void

Public Methods

Method Description
FilterItems ( string filter ) : IList
HomeViewModel ( IShell shell, IBoard board, FavoriteBoardsService favoriteBoardsService, AllowedBoardsService allowedBoardsService, SettingsViewModel settingsViewModel, FavoritesViewModel favoritesViewModel, RecentThreadsViewModel recentThreadsViewModel ) : System
LoadCategories ( ) : Task
NavigateByString ( string text ) : void
NavigateToBoard ( BriefBoardInfo briefBoardInfo ) : void

Protected Methods

Method Description
OnActivate ( object parameter = null ) : void
OnDeactivate ( bool close ) : void

Private Methods

Method Description
CreateCategoryWithAllowedBoards ( BoardsCategory baseCategory ) : BoardsCategory
NavigateToBoard ( string id ) : void
NavigateToPost ( string boardId, long threadNum, long postNum ) : void
NavigateToThread ( string boardId, long num ) : void

Method Details

FilterItems() public method

public FilterItems ( string filter ) : IList
filter string
return IList

HomeViewModel() public method

public HomeViewModel ( IShell shell, IBoard board, FavoriteBoardsService favoriteBoardsService, AllowedBoardsService allowedBoardsService, SettingsViewModel settingsViewModel, FavoritesViewModel favoritesViewModel, RecentThreadsViewModel recentThreadsViewModel ) : System
shell IShell
board IBoard
favoriteBoardsService FavoriteBoardsService
allowedBoardsService AllowedBoardsService
settingsViewModel SettingsViewModel
favoritesViewModel FavoritesViewModel
recentThreadsViewModel RecentThreadsViewModel
return System

LoadCategories() public method

public LoadCategories ( ) : Task
return Task

NavigateByString() public method

public NavigateByString ( string text ) : void
text string
return void

NavigateToBoard() public method

public NavigateToBoard ( BriefBoardInfo briefBoardInfo ) : void
briefBoardInfo BriefBoardInfo
return void

OnActivate() protected method

protected OnActivate ( object parameter = null ) : void
parameter object
return void

OnDeactivate() protected method

protected OnDeactivate ( bool close ) : void
close bool
return void