Table of Contents

Class DefaultAccessPoint

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

Makes an application the default handler for something.

[Equatable]
public abstract class DefaultAccessPoint : AccessPoint, IEquatable<XmlUnknown>, ICloneable<AccessPoint>, IEquatable<DefaultAccessPoint>
Inheritance
DefaultAccessPoint
Implements
Derived
Inherited Members

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

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(DefaultAccessPoint?)

protected bool Equals(DefaultAccessPoint? other)

Parameters

other DefaultAccessPoint

Returns

bool

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

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