Method | Description | |
---|---|---|
Clear ( ) : void |
Deletes all the images from the cache. This method can block the current thread for a long time; it is advised to call it from a background thread.
|
|
Get ( |
Retrieves the source for the image with the specified URI from the cache, downloading it if needed.
|
|
Get ( string imageUriString ) : System.Windows.Media.ImageSource |
Retrieves the source for the image with the specified URI from the cache, downloading it if needed.
|
|
ToString ( ) : string |
Overrides object.ToString().
|
Method | Description | |
---|---|---|
GetInternal ( |
The actual implementation of ImageCache.Get.
|
|
ImageCache ( string name ) : System |
Initializes a new ImageCache instance.
|
public Get ( |
||
imageUri | The URI of the image. Must be an absolute URI. | |
return | System.Windows.Media.ImageSource |
public Get ( string imageUriString ) : System.Windows.Media.ImageSource | ||
imageUriString | string | The URI of the image. Must be an absolute URI. |
return | System.Windows.Media.ImageSource |
protected abstract GetInternal ( |
||
imageUri | ||
return | System.Windows.Media.ImageSource |
protected ImageCache ( string name ) : System | ||
name | string | |
return | System |