Class CatalogManagerExtensions
- Namespace
 - ZeroInstall.Services.Feeds
 
- Assembly
 - ZeroInstall.Services.dll
 
Provides extension methods for ICatalogManager.
public static class CatalogManagerExtensions
  - Inheritance
 - 
      
      CatalogManagerExtensions
 
- Inherited Members
 
Methods
Get(ICatalogManager)
Downloads and merges all Catalogs specified by the configuration files or returns a cached copy, if available.
public static Catalog Get(this ICatalogManager manager)
  Parameters
managerICatalogManager
Returns
Exceptions
- IOException
 A problem occurred while reading a local catalog file.
- UnauthorizedAccessException
 Access to a local catalog file was not permitted.
- WebException
 A problem occurred while fetching a remote catalog file.
- NotSupportedException
 The catalog requires a newer version of Zero Install.
- InvalidDataException
 A problem occurred while deserializing an XML file.
- SignatureException
 The signature data of a remote catalog file could not be verified.
- UriFormatException
 An invalid catalog source is specified in the configuration file.
TryGetOnline(ICatalogManager)
Tries to download and merge all Catalogs specified by the configuration files.
public static Catalog? TryGetOnline(this ICatalogManager manager)
  Parameters
managerICatalogManager