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
xProductFieldThe first object to compare.
yProductFieldThe 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
fieldProductField
Returns
- int
A hash code for the specified object.
Exceptions
- ArgumentNullException
The type of
objis a reference type andobjis null.