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
TagName
public const string TagName = "default-access-point"
Field Value
Properties
Capability
The ID of the Capability to be made the default handler.
public required string Capability { get; set; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Equals(DefaultAccessPoint?)
protected bool Equals(DefaultAccessPoint? other)
Parameters
other
DefaultAccessPoint
Returns
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
DefaultAccessPointThe left object
right
DefaultAccessPointThe 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
DefaultAccessPointThe left object
right
DefaultAccessPointThe right object
Returns
- bool
true if the objects are not equal; otherwise, false.