C# Class WeiranZhang.Metropaper.Storage.ImagesStorageManager

Afficher le fichier Open project: weiran/Metropaper

Méthodes publiques

Méthode Description
AddImage ( long bookmarkId, string imageUrl ) : void
ClearImageCache ( long bookmarkId ) : void
GetImage ( string imageUrl, long bookmarkId ) : BitmapImage
GetImage ( string filePath ) : System.Windows.Media.Imaging.WriteableBitmap
GetImagePath ( string imageUrl, long bookmarkId ) : string

Private Methods

Méthode Description
RandomString ( int size, bool lowerCase ) : string

Method Details

AddImage() public static méthode

public static AddImage ( long bookmarkId, string imageUrl ) : void
bookmarkId long
imageUrl string
Résultat void

ClearImageCache() public static méthode

public static ClearImageCache ( long bookmarkId ) : void
bookmarkId long
Résultat void

GetImage() public static méthode

public static GetImage ( string imageUrl, long bookmarkId ) : BitmapImage
imageUrl string
bookmarkId long
Résultat System.Windows.Media.Imaging.BitmapImage

GetImage() public static méthode

public static GetImage ( string filePath ) : System.Windows.Media.Imaging.WriteableBitmap
filePath string
Résultat System.Windows.Media.Imaging.WriteableBitmap

GetImagePath() public static méthode

public static GetImagePath ( string imageUrl, long bookmarkId ) : string
imageUrl string
bookmarkId long
Résultat string