public override int GetHashCode() { int hashId = ProductId.GetHashCode(); int hashDesc = ProductName == null ? 0 : ProductName.GetHashCode(); return(hashId ^ hashDesc); }
public override int GetHashCode() { unchecked { var hashCode = ChargeIntervalFrequency.GetHashCode(); hashCode = (hashCode * 397) ^ CutoffDayOfMonth.GetHashCode(); hashCode = (hashCode * 397) ^ CutoffDayOfWeek.GetHashCode(); hashCode = (hashCode * 397) ^ ExpireAfterSpecificNumberOfCharges.GetHashCode(); hashCode = (hashCode * 397) ^ (FulfillmentService != null ? FulfillmentService.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Grams.GetHashCode(); hashCode = (hashCode * 397) ^ (LinePrice != null ? LinePrice.GetHashCode() : 0); hashCode = (hashCode * 397) ^ OrderDayOfMonth.GetHashCode(); hashCode = (hashCode * 397) ^ OrderDayOfWeek.GetHashCode(); hashCode = (hashCode * 397) ^ OrderIntervalFrequency.GetHashCode(); hashCode = (hashCode * 397) ^ (OrderIntervalUnit != null ? OrderIntervalUnit.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Price != null ? Price.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ProductId.GetHashCode(); hashCode = (hashCode * 397) ^ Quantity.GetHashCode(); hashCode = (hashCode * 397) ^ RequiresShipping.GetHashCode(); hashCode = (hashCode * 397) ^ (Sku != null ? Sku.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Taxable.GetHashCode(); hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0); hashCode = (hashCode * 397) ^ VariantId.GetHashCode(); hashCode = (hashCode * 397) ^ (VariantTitle != null ? VariantTitle.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Vendor != null ? Vendor.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (ProductId.Length != 0) { hash ^= ProductId.GetHashCode(); } if (Quantity != 0) { hash ^= Quantity.GetHashCode(); } if (Address.Length != 0) { hash ^= Address.GetHashCode(); } if (OrderId.Length != 0) { hash ^= OrderId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (ProductId.Length != 0) { hash ^= ProductId.GetHashCode(); } if (ProductName.Length != 0) { hash ^= ProductName.GetHashCode(); } if (Count != 0) { hash ^= Count.GetHashCode(); } if (UnitPrice != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(UnitPrice); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 13; hash = (hash * ProductId.GetHashCode()) + 7; return(hash); }
public override int GetHashCode() { unchecked { var hashCode = ProductId.GetHashCode(); hashCode = (hashCode * 397) ^ (ProductMark != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(ProductMark) : 0); hashCode = (hashCode * 397) ^ (ProductName != null ? StringComparer.OrdinalIgnoreCase.GetHashCode(ProductName) : 0); hashCode = (hashCode * 397) ^ Vstk2.GetHashCode(); hashCode = (hashCode * 397) ^ Rstk2.GetHashCode(); hashCode = (hashCode * 397) ^ Prtnorm2.GetHashCode(); hashCode = (hashCode * 397) ^ Nadb2.GetHashCode(); hashCode = (hashCode * 397) ^ Vstk3.GetHashCode(); hashCode = (hashCode * 397) ^ Rstk3.GetHashCode(); hashCode = (hashCode * 397) ^ Prtnorm3.GetHashCode(); hashCode = (hashCode * 397) ^ Nadb3.GetHashCode(); hashCode = (hashCode * 397) ^ Vstk4.GetHashCode(); hashCode = (hashCode * 397) ^ Rstk4.GetHashCode(); hashCode = (hashCode * 397) ^ Prtnorm4.GetHashCode(); hashCode = (hashCode * 397) ^ Nadb4.GetHashCode(); hashCode = (hashCode * 397) ^ Vstk5.GetHashCode(); hashCode = (hashCode * 397) ^ Rstk5.GetHashCode(); hashCode = (hashCode * 397) ^ Prtnorm5.GetHashCode(); hashCode = (hashCode * 397) ^ Nadb5.GetHashCode(); hashCode = (hashCode * 397) ^ Vstk21.GetHashCode(); hashCode = (hashCode * 397) ^ Rstk21.GetHashCode(); hashCode = (hashCode * 397) ^ Prtnorm21.GetHashCode(); hashCode = (hashCode * 397) ^ Nadb21.GetHashCode(); hashCode = (hashCode * 397) ^ VstkZavod.GetHashCode(); hashCode = (hashCode * 397) ^ RstkZavod.GetHashCode(); hashCode = (hashCode * 397) ^ PrtnormZavod.GetHashCode(); hashCode = (hashCode * 397) ^ NadbZavod.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (UserId.Length != 0) { hash ^= UserId.GetHashCode(); } if (ProductId.Length != 0) { hash ^= ProductId.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Quantity != 0) { hash ^= Quantity.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return((11873 * 53) + TenantId.GetHashCode() + ProductId.GetHashCode() + SprintId.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (ProductId != 0) { hash ^= ProductId.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (ProductPrice != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ProductPrice); } if (ProductDescription.Length != 0) { hash ^= ProductDescription.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (CommodityId != 0) { hash ^= CommodityId.GetHashCode(); } if (CommodityType != 0) { hash ^= CommodityType.GetHashCode(); } if (ProductId.Length != 0) { hash ^= ProductId.GetHashCode(); } if (Price != 0D) { hash ^= Price.GetHashCode(); } if (AmountRmb != 0D) { hash ^= AmountRmb.GetHashCode(); } if (Currency.Length != 0) { hash ^= Currency.GetHashCode(); } return(hash); }
public override int GetHashCode() { var hashCode = -162454816; hashCode = hashCode * -1521134295 + ProductId.GetHashCode(); hashCode = hashCode * -1521134295 + Granularity.GetHashCode(); return(hashCode); }
public override int GetHashCode() { var hashCode = -810527825; hashCode = hashCode * -1521134295 + VendorId.GetHashCode(); hashCode = hashCode * -1521134295 + ProductId.GetHashCode(); return(hashCode); }
public override int GetHashCode() { var hashCode = 76325633; hashCode = hashCode * -1521134295 + ProductId.GetHashCode(); hashCode = hashCode * -1521134295 + Quantity.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int hash = 23; hash = hash * 31 + OrderId.GetHashCode(); hash = hash * 31 + ProductId.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (OpenId.Length != 0) { hash ^= OpenId.GetHashCode(); } if (ProductId.Length != 0) { hash ^= ProductId.GetHashCode(); } if (Pf.Length != 0) { hash ^= Pf.GetHashCode(); } if (Channel.Length != 0) { hash ^= Channel.GetHashCode(); } if (ChannelUid.Length != 0) { hash ^= ChannelUid.GetHashCode(); } if (AccessToken.Length != 0) { hash ^= AccessToken.GetHashCode(); } if (ChannelId.Length != 0) { hash ^= ChannelId.GetHashCode(); } if (Version.Length != 0) { hash ^= Version.GetHashCode(); } if (PhoneType.Length != 0) { hash ^= PhoneType.GetHashCode(); } if (Idfa.Length != 0) { hash ^= Idfa.GetHashCode(); } if (Idfv.Length != 0) { hash ^= Idfv.GetHashCode(); } if (Imei.Length != 0) { hash ^= Imei.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (ProductId != null) { hashCode = hashCode * 59 + ProductId.GetHashCode(); } if (EffectiveFrom != null) { hashCode = hashCode * 59 + EffectiveFrom.GetHashCode(); } if (EffectiveTo != null) { hashCode = hashCode * 59 + EffectiveTo.GetHashCode(); } if (LastUpdated != null) { hashCode = hashCode * 59 + LastUpdated.GetHashCode(); } if (ProductCategory != null) { hashCode = hashCode * 59 + ProductCategory.GetHashCode(); } if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Description != null) { hashCode = hashCode * 59 + Description.GetHashCode(); } if (Brand != null) { hashCode = hashCode * 59 + Brand.GetHashCode(); } if (BrandName != null) { hashCode = hashCode * 59 + BrandName.GetHashCode(); } if (ApplicationUri != null) { hashCode = hashCode * 59 + ApplicationUri.GetHashCode(); } if (IsTailored != null) { hashCode = hashCode * 59 + IsTailored.GetHashCode(); } if (AdditionalInformation != null) { hashCode = hashCode * 59 + AdditionalInformation.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hashCode = -2134810397; hashCode = hashCode * -1521134295 + CartId.GetHashCode(); hashCode = hashCode * -1521134295 + ProductId.GetHashCode(); hashCode = hashCode * -1521134295 + Quantity.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int hash = 13; hash = (hash * 7) + ProductId.GetHashCode(); hash = (hash * 7) + CateogryId.GetHashCode(); return(hash); }
public override int GetHashCode() { unchecked { var hashCode = ProductId.GetHashCode(); hashCode = (hashCode * 397) ^ Title.GetHashCodeSafely(); hashCode = (hashCode * 397) ^ Price.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int result = Quantity.GetHashCode(); result = (result * 397) ^ (ProductId != null ? ProductId.GetHashCode() : 0); result = (result * 397) ^ ItemValue.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + (ModifiedDate == default(DateTime) ? 0 : ModifiedDate.GetHashCode()); hash = hash * 23 + (ProductId == default(int) ? 0 : ProductId.GetHashCode()); return(hash); } }
public override int GetHashCode() { unchecked { var hashCode = ProductId?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ProductName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ UnitPriceInCents; return(hashCode); } }
public override int GetHashCode() { var hashCode = 903248155; hashCode = hashCode * -1521134295 + StoreId.GetHashCode(); hashCode = hashCode * -1521134295 + ProductId.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(SpecificationId); return(hashCode); }
public override int GetHashCode() { unchecked { int hashCode = Id; hashCode = (hashCode * 397) ^ Quantity; hashCode = (hashCode * 397) ^ ProductId.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = ProductId != null?ProductId.GetHashCode() : 0; hashCode = (hashCode * 397) ^ Price.GetHashCode(); hashCode = (hashCode * 397) ^ (int)Amount; return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ ProductId.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id; hashCode = (hashCode * 397) ^ (Value != null ? Value.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ProductId.GetHashCode(); hashCode = (hashCode * 397) ^ DescriptionGroupItemId.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int hash = 17 + QuantityToBeRemoved + ProductId; // Suitable nullity checks etc, of course :) hash = hash * 23 + ProductId.GetHashCode(); hash = hash * 23 + QuantityToBeRemoved.GetHashCode(); hash = hash * 23 + this.ToString().GetHashCode(); return(hash); } }
public override int GetHashCode() { if (OrderId == 0) { return(base.GetHashCode()); //transient instance } if (ProductId == 0) { return(base.GetHashCode()); //transient instance } return(OrderId.GetHashCode() ^ ProductId.GetHashCode()); }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + (EndDate == null ? 0 : EndDate.GetHashCode()); hash = hash * 23 + (ListPrice == default(decimal) ? 0 : ListPrice.GetHashCode()); hash = hash * 23 + (ModifiedDate == default(DateTime) ? 0 : ModifiedDate.GetHashCode()); hash = hash * 23 + (ProductId == default(int) ? 0 : ProductId.GetHashCode()); hash = hash * 23 + (StartDate == default(DateTime) ? 0 : StartDate.GetHashCode()); return(hash); } }