C# Class ZeroInstall.Central.AppTileManagement

Helper methods for keeping IAppTileLists in sync with AppLists and Catalogs.
Afficher le fichier Open project: 0install/0install-win

Méthodes publiques

Méthode Description
AppTileManagement ( [ feedManager, [ catalogManager, [ iconCache, [ tileListMyApps, [ tileListCatalog, bool machineWide ) : System

Creates a new tile manager.

LoadCachedCatalog ( ) : void

Loads a cached version of the catalog from the disk and passes it to SetCatalog.

SetCatalog ( [ newCatalog ) : void

Updates the displayed catalog list based on changes detected between the current and the new catalog.

Private Methods

Méthode Description
GetCatalogOnline ( ) : Catalog
LoadFeedSafe ( [ feedUri ) : Feed
QueueCatalogTile ( [ feed ) : void

Creates a new tile for the feed and queues it for adding on the _tileListCatalog.

UpdateMyApps ( ) : IEnumerable

Method Details

AppTileManagement() public méthode

Creates a new tile manager.
public AppTileManagement ( [ feedManager, [ catalogManager, [ iconCache, [ tileListMyApps, [ tileListCatalog, bool machineWide ) : System
feedManager [ Provides access to remote and local s. Handles downloading, signature verification and caching.
catalogManager [ Provides access to remote and local s. Handles downloading, signature verification and caching.
iconCache [ The icon cache used by newly created s to retrieve application icons.
tileListMyApps [ The used to represent the "my apps" .
tileListCatalog [ The used to represent the merged .
machineWide bool Apply operations machine-wide instead of just for the current user.
Résultat System

LoadCachedCatalog() public méthode

Loads a cached version of the catalog from the disk and passes it to SetCatalog.
public LoadCachedCatalog ( ) : void
Résultat void

SetCatalog() public méthode

Updates the displayed catalog list based on changes detected between the current and the new catalog.
public SetCatalog ( [ newCatalog ) : void
newCatalog [
Résultat void