Class IconStoreExtensions
- Namespace
- ZeroInstall.Store.Icons
- Assembly
- ZeroInstall.Store.dll
Provides extension methods for IIconStore.
public static class IconStoreExtensions
- Inheritance
-
IconStoreExtensions
- Inherited Members
Methods
TryGetCached(IIconStore, Icon)
Tries to get an icon that is already cached.
public static string? TryGetCached(this IIconStore iconStore, Icon icon)
Parameters
iconStoreIIconStoreThe icon store.
iconIconThe icon to get.
Returns
- string
The file path of the icon in the cache;
nullif the icon is not cached yet.