Table of Contents

Class IntegrateApp

Namespace
ZeroInstall.Commands.Desktop
Assembly
0install.dll

Add an application to the AppList (if missing) and integrate it into the desktop environment.

public class IntegrateApp : AppCommand
Inheritance
IntegrateApp
Inherited Members

Constructors

IntegrateApp(ICommandHandler)

Common base class for commands that manage an AppList.

public IntegrateApp(ICommandHandler handler)

Parameters

handler ICommandHandler

Fields

AltName

public const string AltName = "integrate-app"

Field Value

string

AltName2

public const string AltName2 = "desktop"

Field Value

string

Name

public const string Name = "integrate"

Field Value

string

Properties

Description

A short description of what this command does.

public override string Description { get; }

Property Value

string

Usage

The additional arguments to be displayed after the command name in the help text.

public override string Usage { get; }

Property Value

string

Methods

ExecuteHelper()

Template method that performs the actual operation.

protected override ExitCode ExecuteHelper()

Returns

ExitCode

The exit status code to end the process with.

GetAppEntry(IIntegrationManager, ref FeedUri)

Finds an existing AppEntry or creates a new one for a specific interface URI.

protected override AppEntry GetAppEntry(IIntegrationManager integrationManager, ref FeedUri interfaceUri)

Parameters

integrationManager IIntegrationManager

Manages desktop integration operations.

interfaceUri FeedUri

The interface URI to create an AppEntry for. Will be updated if ReplacedBy is set and accepted by the user.

Returns

AppEntry