C# Class ZeroInstall.Store.Icons.DiskIconCache

Provides access to a disk-based cache of icon files that were downloaded via HTTP(S).
Inheritance: IIconCache
Afficher le fichier Open project: 0install/0install-win Class Usage Examples

Méthodes publiques

Méthode Description
Contains ( Uri iconUrl ) : bool
DiskIconCache ( [ path ) : System

Creates a new disk-based cache.

GetIcon ( Uri iconUrl, ITaskHandler handler ) : string
Remove ( Uri iconUrl ) : void

Method Details

Contains() public méthode

public Contains ( Uri iconUrl ) : bool
iconUrl System.Uri
Résultat bool

DiskIconCache() public méthode

Creates a new disk-based cache.
public DiskIconCache ( [ path ) : System
path [ A fully qualified directory path.
Résultat System

GetIcon() public méthode

public GetIcon ( Uri iconUrl, ITaskHandler handler ) : string
iconUrl System.Uri
handler ITaskHandler
Résultat string

Remove() public méthode

public Remove ( Uri iconUrl ) : void
iconUrl System.Uri
Résultat void