C# Class booruReader.Model.FavoriteHandler

This is an offline posts fetcher for the favorites
Mostra file Open project: earlnuclear/DanbooruBrowser Class Usage Examples

Public Methods

Method Description
AddToFavorites ( BasePost webPost, string fileToCopy ) : void
FavoriteHandler ( ) : System.Collections.Generic
FetchFavorites ( string tagsToMatch ) : List
RemoveFromFavorites ( BasePost post ) : void

Private Methods

Method Description
CheckForRemovedFavorites ( ) : void
FolderSetup ( ) : void
FormFilename ( string md5, string FullPictureURL ) : string

MD5 based filename builder

PopulateLit ( ) : void
UpdateFavoritesConfigFile ( ) : void

Method Details

AddToFavorites() public method

public AddToFavorites ( BasePost webPost, string fileToCopy ) : void
webPost BasePost
fileToCopy string
return void

FavoriteHandler() public method

public FavoriteHandler ( ) : System.Collections.Generic
return System.Collections.Generic

FetchFavorites() public method

public FetchFavorites ( string tagsToMatch ) : List
tagsToMatch string
return List

RemoveFromFavorites() public method

public RemoveFromFavorites ( BasePost post ) : void
post BasePost
return void