C# Class TheChan.ViewModels.FavoritesViewModel

Inheritance: ThreadsRepositoryViewModelBase
Mostra file Open project: acedened/TheChan Class Usage Examples

Private Properties

Property Type Description
CreatePostViewModel PostViewModel

Public Methods

Method Description
FavoritesViewModel ( FavoriteThreadsService threadsRepositoryService, FavoritePostsService favoritePostsService, IBoard board, IShell shell ) : System.Collections.ObjectModel
Load ( ) : void
Unfavorite ( PostViewModel post ) : void

Private Methods

Method Description
CreatePostViewModel ( Core.Models.Post post ) : PostViewModel

Method Details

FavoritesViewModel() public method

public FavoritesViewModel ( FavoriteThreadsService threadsRepositoryService, FavoritePostsService favoritePostsService, IBoard board, IShell shell ) : System.Collections.ObjectModel
threadsRepositoryService TheChan.Services.Storage.FavoriteThreadsService
favoritePostsService FavoritePostsService
board IBoard
shell IShell
return System.Collections.ObjectModel

Load() public method

public Load ( ) : void
return void

Unfavorite() public method

public Unfavorite ( PostViewModel post ) : void
post PostViewModel
return void