C# Класс TheChan.ViewModels.HomeViewModel

Наследование: Tab
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CreateCategoryWithAllowedBoards BoardsCategory
NavigateToBoard void
NavigateToPost void
NavigateToThread void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
OnActivate ( object parameter = null ) : void
OnDeactivate ( bool close ) : void

Приватные методы

Метод Описание
CreateCategoryWithAllowedBoards ( BoardsCategory baseCategory ) : BoardsCategory
NavigateToBoard ( string id ) : void
NavigateToPost ( string boardId, long threadNum, long postNum ) : void
NavigateToThread ( string boardId, long num ) : void

Описание методов

FilterItems() публичный Метод

public FilterItems ( string filter ) : IList
filter string
Результат IList

HomeViewModel() публичный Метод

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
Результат System

LoadCategories() публичный Метод

public LoadCategories ( ) : Task
Результат Task

NavigateByString() публичный Метод

public NavigateByString ( string text ) : void
text string
Результат void

NavigateToBoard() публичный Метод

public NavigateToBoard ( BriefBoardInfo briefBoardInfo ) : void
briefBoardInfo BriefBoardInfo
Результат void

OnActivate() защищенный Метод

protected OnActivate ( object parameter = null ) : void
parameter object
Результат void

OnDeactivate() защищенный Метод

protected OnDeactivate ( bool close ) : void
close bool
Результат void