C# Class ZeroInstall.Store.Icons.DiskIconCache

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

Public Methods

Method 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 method

public Contains ( Uri iconUrl ) : bool
iconUrl System.Uri
return bool

DiskIconCache() public method

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

GetIcon() public method

public GetIcon ( Uri iconUrl, ITaskHandler handler ) : string
iconUrl System.Uri
handler ITaskHandler
return string

Remove() public method

public Remove ( Uri iconUrl ) : void
iconUrl System.Uri
return void