Table of Contents

Class ManifestDigestPartialEqualityComparer

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

ManifestDigestPartialEqualityComparer

Methods

Equals(ManifestDigest, ManifestDigest)

Determines whether the specified objects are equal.

public bool Equals(ManifestDigest x, ManifestDigest y)

Parameters

x ManifestDigest

The first object of type T to compare.

y ManifestDigest

The second object of type T to compare.

Returns

bool

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

GetHashCode(ManifestDigest)

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

public int GetHashCode(ManifestDigest obj)

Parameters

obj ManifestDigest

Returns

int