C# Class ZeroInstall.DesktopIntegration.AccessPoints.AccessPoint

Inheritance: XmlUnknown, ICloneable
Mostrar archivo Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
Apply ( [ appEntry, [ feed, [ handler, bool machineWide ) : void

Applies this access point to the current machine.

Clone ( ) : AccessPoint

Creates a deep copy of this AccessPoint instance.

GetConflictIDs ( [ appEntry ) : IEnumerable

Retrieves identifiers from a namespace global to all AccessPoints. Collisions in this namespace indicate that the respective AccessPoints are in conflict cannot be applied on a system at the same time.

These identifiers are not guaranteed to stay the same between versions. They should not be stored in files but instead always generated on demand.

Unapply ( [ appEntry, bool machineWide ) : void

Unapplies this access point on the current machine.

Private Methods

Method Description
ICloneable ( ) : object

Method Details

Apply() public abstract method

Applies this access point to the current machine.
An reference to a is invalid. 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 access point's data or a referenced 's data are invalid.
public abstract Apply ( [ appEntry, [ feed, [ handler, bool machineWide ) : void
appEntry [ The application being integrated.
feed [ The feed providing additional metadata, icons, etc. for the application.
handler [ A callback object used when the the user is to be informed about the progress of long-running operations such as downloads.
machineWide bool Apply the configuration machine-wide instead of just for the current user.
return void

Clone() public abstract method

Creates a deep copy of this AccessPoint instance.
public abstract Clone ( ) : AccessPoint
return AccessPoint

GetConflictIDs() public abstract method

Retrieves identifiers from a namespace global to all AccessPoints. Collisions in this namespace indicate that the respective AccessPoints are in conflict cannot be applied on a system at the same time.
These identifiers are not guaranteed to stay the same between versions. They should not be stored in files but instead always generated on demand.
An reference to a is invalid.
public abstract GetConflictIDs ( [ appEntry ) : IEnumerable
appEntry [ The application entry containing this access point.
return IEnumerable

Unapply() public abstract method

Unapplies this access point on the current machine.
An reference to a is invalid. A problem occurs while writing to the filesystem or registry. Write access to the filesystem or registry is not permitted.
public abstract Unapply ( [ appEntry, bool machineWide ) : void
appEntry [ The application entry containing this access point.
machineWide bool Apply the configuration machine-wide instead of just for the current user.
return void