Class AccessPoint
An access point represents changes to the desktop environment's UI which the user explicitly requested.
Inheritance
Inherited Members
Namespace: ZeroInstall.DesktopIntegration.AccessPoints
Assembly: ZeroInstall.DesktopIntegration.dll
Syntax
public abstract class AccessPoint : XmlUnknown
Constructors
AccessPoint()
Declaration
protected AccessPoint()
Methods
Apply(AppEntry, Feed, IIconStore, Boolean)
Applies this access point to the current machine.
Declaration
public abstract void Apply(AppEntry appEntry, Feed feed, IIconStore iconStore, bool machineWide)
Parameters
Type | Name | Description |
---|---|---|
AppEntry | appEntry | The application being integrated. |
Feed | feed | The feed providing additional metadata, icons, etc. for the application. |
IIconStore | iconStore | Stores icon files downloaded from the web as local files. |
Boolean | machineWide | Apply the configuration machine-wide instead of just for the current user. |
Exceptions
Type | Condition |
---|---|
KeyNotFoundException | An AccessPoint reference to a Capability is invalid. |
OperationCanceledException | The user canceled the task. |
IOException | A problem occurred while writing to the filesystem or registry. |
WebException | A problem occurred while downloading additional data (such as icons). |
UnauthorizedAccessException | Write access to the filesystem or registry is not permitted. |
Clone()
Creates a deep copy of this AccessPoint instance.
Declaration
public abstract AccessPoint Clone()
Returns
Type | Description |
---|---|
AccessPoint | The new copy of the AccessPoint. |
GetConflictIDs(AppEntry)
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.
Declaration
public abstract IEnumerable<string> GetConflictIDs(AppEntry appEntry)
Parameters
Type | Name | Description |
---|---|---|
AppEntry | appEntry | The application entry containing this access point. |
Returns
Type | Description |
---|---|
IEnumerable<String> |
Remarks
These identifiers are not guaranteed to stay the same between versions. They should not be stored in files but instead always generated on demand.
Exceptions
Type | Condition |
---|---|
KeyNotFoundException | An AccessPoint reference to a Capability is invalid. |
Unapply(AppEntry, Boolean)
Unapply this access point on the current machine.
Declaration
public abstract void Unapply(AppEntry appEntry, bool machineWide)
Parameters
Type | Name | Description |
---|---|---|
AppEntry | appEntry | The application entry containing this access point. |
Boolean | machineWide | Apply the configuration machine-wide instead of just for the current user. |
Exceptions
Type | Condition |
---|---|
KeyNotFoundException | An AccessPoint reference to a Capability is invalid. |
IOException | A problem occurred while writing to the filesystem or registry. |
UnauthorizedAccessException | Write access to the filesystem or registry is not permitted. |