Table of Contents

Class DefaultAccessPoint

Namespace
ZeroInstall.DesktopIntegration.AccessPoints
Assembly
ZeroInstall.DesktopIntegration.dll

Makes an application the default handler for something.

public abstract class DefaultAccessPoint : AccessPoint, ICloneable<AccessPoint>, IEquatable<DefaultAccessPoint>
Inheritance
object
DefaultAccessPoint
Implements
Derived
Inherited Members

Constructors

DefaultAccessPoint()

protected DefaultAccessPoint()

Fields

AltName

public const string AltName = "default-app"

Field Value

string

TagName

public const string TagName = "default-access-point"

Field Value

string

Properties

Capability

The ID of the Capability to be made the default handler.

public required string Capability { get; set; }

Property Value

string

Methods

CloneFromTo(DefaultAccessPoint, DefaultAccessPoint)

Copies all members declared by DefaultAccessPoint from one instance to another.

protected static void CloneFromTo(DefaultAccessPoint from, DefaultAccessPoint to)

Parameters

from DefaultAccessPoint
to DefaultAccessPoint

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(DefaultAccessPoint?)

protected bool Equals(DefaultAccessPoint? other)

Parameters

other DefaultAccessPoint

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(DefaultAccessPoint?, DefaultAccessPoint?)

Indicates whether the object on the left is equal to the object on the right.

public static bool operator ==(DefaultAccessPoint? left, DefaultAccessPoint? right)

Parameters

left DefaultAccessPoint

The left object

right DefaultAccessPoint

The right object

Returns

bool

true if the objects are equal; otherwise, false.

operator !=(DefaultAccessPoint?, DefaultAccessPoint?)

Indicates whether the object on the left is not equal to the object on the right.

public static bool operator !=(DefaultAccessPoint? left, DefaultAccessPoint? right)

Parameters

left DefaultAccessPoint

The left object

right DefaultAccessPoint

The right object

Returns

bool

true if the objects are not equal; otherwise, false.

See Also