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