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
-
objectDefaultAccessPoint
- Implements
- Derived
- Inherited Members
Constructors
DefaultAccessPoint()
protected DefaultAccessPoint()
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
CloneFromTo(DefaultAccessPoint, DefaultAccessPoint)
Copies all members declared by DefaultAccessPoint from one instance to another.
protected static void CloneFromTo(DefaultAccessPoint from, DefaultAccessPoint to)
Parameters
fromDefaultAccessPointtoDefaultAccessPoint
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(DefaultAccessPoint?)
protected bool Equals(DefaultAccessPoint? other)
Parameters
otherDefaultAccessPoint
Returns
GetHashCode()
public override int GetHashCode()
Returns
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
leftDefaultAccessPointThe left object
rightDefaultAccessPointThe 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
leftDefaultAccessPointThe left object
rightDefaultAccessPointThe right object
Returns
- bool
true if the objects are not equal; otherwise, false.