C# Класс ZeroInstall.Central.AppTileManagement

Helper methods for keeping IAppTileLists in sync with AppLists and Catalogs.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

AppTileManagement() публичный Метод

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.
Результат System

LoadCachedCatalog() публичный Метод

Loads a cached version of the catalog from the disk and passes it to SetCatalog.
public LoadCachedCatalog ( ) : void
Результат void

SetCatalog() публичный Метод

Updates the displayed catalog list based on changes detected between the current and the new catalog.
public SetCatalog ( [ newCatalog ) : void
newCatalog [
Результат void