Table of Contents

Class ManifestDigestPartialEqualityComparer<T>

Namespace
ZeroInstall.Model
Assembly
ZeroInstall.Model.dll
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

ManifestDigestPartialEqualityComparer<T>

Methods

Equals(T?, T?)

Determines whether the specified objects are equal.

public bool Equals(T? x, T? y)

Parameters

x T

The first object of type T to compare.

y T

The second object of type T to compare.

Returns

bool

true if the specified objects are equal; otherwise, false.

GetHashCode(T)

Always returns 0. The concept of hashing is not applicable to partial equality.

public int GetHashCode(T obj)

Parameters

obj T

Returns

int