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
Show file Open project: 0install/0install-win Class Usage Examples

Public Properties

Property Type Description
AllCategories string[]
StandardCategories string[]

Public Methods

Method 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

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

public AddAccessPointCategories ( AppEntry appEntry, Feed feed ) : void
appEntry AppEntry
feed Feed
return void

CategoryIntegrationManager() public method

public CategoryIntegrationManager ( [ appListPath, [ handler, bool machineWide = false ) : System
appListPath [
handler [
machineWide bool
return System

CategoryIntegrationManager() public method

public CategoryIntegrationManager ( [ handler, bool machineWide = false ) : System
handler [
machineWide bool
return System

RemoveAccessPointCategories() public method

public RemoveAccessPointCategories ( AppEntry appEntry ) : void
appEntry AppEntry
return void

Property Details

AllCategories public static property

A list of all known AccessPoint categories.
public static string[] AllCategories
return string[]

StandardCategories public static property

A list of recommended standard AccessPoint categories.
public static string[] StandardCategories
return string[]