C# Class ZeroInstall.DesktopIntegration.Windows.AppRegistration

Contains control logic for applying Store.Model.Capabilities.AppRegistration on Windows systems.
显示文件 Open project: 0install/0install-win

Public Methods

Method Description
Register ( FeedTarget target, [ appRegistration, IEnumerable verbCapabilities, bool machineWide, [ handler ) : void

Applies application registration to the current system.

Unregister ( [ appRegistration, bool machineWide ) : void

Removes application registration from the current system.

Method Details

Register() public static method

Applies application registration to the current system.
The user canceled the task. A problem occurs while writing to the filesystem or registry. A problem occured while downloading additional data (such as icons). Write access to the filesystem or registry is not permitted. The data in or is invalid.
public static Register ( FeedTarget target, [ appRegistration, IEnumerable verbCapabilities, bool machineWide, [ handler ) : void
target ZeroInstall.Store.FeedTarget The application being integrated.
appRegistration [ The registration information to be applied.
verbCapabilities IEnumerable The capabilities that the application is to be registered with.
machineWide bool Apply the registration machine-wide instead of just for the current user.
handler [ A callback object used when the the user is to be informed about the progress of long-running operations such as downloads.
return void

Unregister() public static method

Removes application registration from the current system.
A problem occurs while writing to the filesystem or registry. Write access to the filesystem or registry is not permitted. The data in .
public static Unregister ( [ appRegistration, bool machineWide ) : void
appRegistration [ The registration information to be removed.
machineWide bool Apply the registration machine-wide instead of just for the current user.
return void