Class ManifestDigestPartialEqualityComparer
- Namespace
- ZeroInstall.Model
- Assembly
- ZeroInstall.Model.dll
Uses PartialEquals(ManifestDigest) to compare ManifestDigests.
public sealed class ManifestDigestPartialEqualityComparer : IEqualityComparer<ManifestDigest>
- Inheritance
-
ManifestDigestPartialEqualityComparer
- Implements
- Inherited Members
Fields
Instance
A singleton instance of the comparer.
public static readonly ManifestDigestPartialEqualityComparer Instance
Field Value
Methods
Equals(ManifestDigest, ManifestDigest)
Determines whether the specified objects are equal.
public bool Equals(ManifestDigest x, ManifestDigest y)
Parameters
x
ManifestDigestThe first object of type
T
to compare.y
ManifestDigestThe second object of type
T
to compare.
Returns
GetHashCode(ManifestDigest)
Always returns 0. The concept of hashing is not applicable to partial equality.
public int GetHashCode(ManifestDigest obj)
Parameters
obj
ManifestDigest