Table of Contents

Class ProductFieldComparer

Namespace
Dynamicweb.Ecommerce
Assembly
Dynamicweb.Ecommerce.dll
public class ProductFieldComparer : EqualityComparer<ProductField>, IEqualityComparer<ProductField>, IEqualityComparer
Inheritance
ProductFieldComparer
Implements
Inherited Members

Methods

Equals(ProductField, ProductField)

When overridden in a derived class, determines whether two objects of type ProductField are equal.

public override bool Equals(ProductField x, ProductField y)

Parameters

x ProductField

The first object to compare.

y ProductField

The second object to compare.

Returns

bool

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

GetHashCode(ProductField)

When overridden in a derived class, serves as a hash function for the specified object for hashing algorithms and data structures, such as a hash table.

public override int GetHashCode(ProductField field)

Parameters

field ProductField

Returns

int

A hash code for the specified object.

Exceptions

ArgumentNullException

The type of obj is a reference type and obj is null.

To top