C# Class ZeroInstall.DesktopIntegration.CategoryIntegrationManager

Manages desktop integration via AccessPoints, grouping them into categories.
To prevent race-conditions there may only be one desktop integration class instance active at any given time. This class acquires a mutex upon calling its constructor and releases it upon calling IDisposable.Dispose.
Inheritance: IntegrationManager, ICategoryIntegrationManager
Afficher le fichier Open project: 0install/0install-win Class Usage Examples

Méthodes publiques

Свойство Type Description
AllCategories string[]
StandardCategories string[]

Méthodes publiques

Méthode Description
AddAccessPointCategories ( AppEntry appEntry, Feed feed ) : void
CategoryIntegrationManager ( [ appListPath, [ handler, bool machineWide = false ) : System
CategoryIntegrationManager ( [ handler, bool machineWide = false ) : System
RemoveAccessPointCategories ( AppEntry appEntry ) : void

Private Methods

Méthode Description
ToggleIconsVisible ( AppEntry appEntry, bool iconsVisible ) : void

Toggles registry entries indicating whether icons for the application are currently visible.

This is a special handler to support Windows.DefaultProgram.

Method Details

AddAccessPointCategories() public méthode

public AddAccessPointCategories ( AppEntry appEntry, Feed feed ) : void
appEntry AppEntry
feed Feed
Résultat void

CategoryIntegrationManager() public méthode

public CategoryIntegrationManager ( [ appListPath, [ handler, bool machineWide = false ) : System
appListPath [
handler [
machineWide bool
Résultat System

CategoryIntegrationManager() public méthode

public CategoryIntegrationManager ( [ handler, bool machineWide = false ) : System
handler [
machineWide bool
Résultat System

RemoveAccessPointCategories() public méthode

public RemoveAccessPointCategories ( AppEntry appEntry ) : void
appEntry AppEntry
Résultat void

Property Details

AllCategories public_oe static_oe property

A list of all known AccessPoint categories.
public static string[] AllCategories
Résultat string[]

StandardCategories public_oe static_oe property

A list of recommended standard AccessPoint categories.
public static string[] StandardCategories
Résultat string[]