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
ProductFieldThe first object to compare.
y
ProductFieldThe second object to compare.
Returns
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 andobj
is null.