Class AccessPointList
- Namespace
- ZeroInstall.DesktopIntegration.AccessPoints
- Assembly
- ZeroInstall.DesktopIntegration.dll
Contains a set of AccessPoints to be registered in a desktop environment.
[Serializable]
[Equatable]
public sealed class AccessPointList : XmlUnknown, IEquatable<XmlUnknown>, ICloneable<AccessPointList>, IEquatable<AccessPointList>
- Inheritance
-
AccessPointList
- Implements
- Inherited Members
Properties
Entries
A list of AccessPoints.
[OrderedEquality]
public List<AccessPoint> Entries { get; }
Property Value
Methods
Clone()
Creates a deep copy of this AccessPointList instance.
public AccessPointList Clone()
Returns
- AccessPointList
The new copy of the AccessPointList.
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
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns the access point list in the form "Entry; Entry; ...". Not safe for parsing!
public override string ToString()
Returns
Operators
operator ==(AccessPointList?, AccessPointList?)
Indicates whether the object on the left is equal to the object on the right.
public static bool operator ==(AccessPointList? left, AccessPointList? right)
Parameters
left
AccessPointListThe left object
right
AccessPointListThe right object
Returns
- bool
true if the objects are equal; otherwise, false.
operator !=(AccessPointList?, AccessPointList?)
Indicates whether the object on the left is not equal to the object on the right.
public static bool operator !=(AccessPointList? left, AccessPointList? right)
Parameters
left
AccessPointListThe left object
right
AccessPointListThe right object
Returns
- bool
true if the objects are not equal; otherwise, false.