C# Class ZeroInstall.Central.AppTileManagement

Helper methods for keeping IAppTileLists in sync with AppLists and Catalogs.
ファイルを表示 Open project: 0install/0install-win

Public Methods

Method 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

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

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.
return System

LoadCachedCatalog() public method

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

SetCatalog() public method

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