Here are the examples of the csharp api class Google.Api.Ads.AdWords.Util.Shopping.v201705.ProductDimensionEqualityComparer.GetHashCodeInternal(ProductChannelExclusivity) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: googleads-dotnet-lib
Source File: ProductDimensionEqualityComparer.cs
Source File: ProductDimensionEqualityComparer.cs
public int GetHashCode(ProductDimension obj) { if (obj == null) { return 0; } if (obj is ProductBiddingCategory) { return GetHashCodeInternal(obj as ProductBiddingCategory); } else if (obj is ProductBrand) { return GetHashCodeInternal(obj as ProductBrand); } else if (obj is ProductCanonicalCondition) { return GetHashCodeInternal(obj as ProductCanonicalCondition); } else if (obj is ProductCustomAttribute) { return GetHashCodeInternal(obj as ProductCustomAttribute); } else if (obj is ProductOfferId) { return GetHashCodeInternal(obj as ProductOfferId); } else if (obj is ProductChannel) { return GetHashCodeInternal(obj as ProductChannel); } else if (obj is ProductChannelExclusivity) { return GetHashCodeInternal(obj as ProductChannelExclusivity); } else if (obj is ProductType) { return GetHashCodeInternal(obj as ProductType); } else { return obj.GetHashCode(); } }