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
xTThe first object of type
Tto compare.yTThe second object of type
Tto compare.
Returns
GetHashCode(T)
Always returns 0. The concept of hashing is not applicable to partial equality.
public int GetHashCode(T obj)
Parameters
objT