Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.Util.Shopping.v201809.ProductDimensionEqualityComparer Class Reference

Subclass-aware comparator for ProductDimension objects. Performs a logical comparison between instances. This comparator is not consistent with equals(Object). More...

Inheritance diagram for Google.Api.Ads.AdWords.Util.Shopping.v201809.ProductDimensionEqualityComparer:

Public Member Functions

bool Equals (ProductDimension x, ProductDimension y)
 Determines whether the specified objects are equal. More...
 
int GetHashCode (ProductDimension obj)
 Returns a hash code for this instance. More...
 

Detailed Description

Subclass-aware comparator for ProductDimension objects. Performs a logical comparison between instances. This comparator is not consistent with equals(Object).

The compare(ProductDimension, ProductDimension) method handles nulls, ordering nulls last.

Member Function Documentation

bool Google.Api.Ads.AdWords.Util.Shopping.v201809.ProductDimensionEqualityComparer.Equals ( ProductDimension  x,
ProductDimension  y 
)
inline

Determines whether the specified objects are equal.

Parameters
xThe first object to compare.
yThe second object to compare.
Returns
True if the specified objects are equal; otherwise, false.
int Google.Api.Ads.AdWords.Util.Shopping.v201809.ProductDimensionEqualityComparer.GetHashCode ( ProductDimension  obj)
inline

Returns a hash code for this instance.

Parameters
objThe object.
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

The documentation for this class was generated from the following file: