public override int GetHashCode() { int hash = 1; if (Token.Length != 0) { hash ^= Token.GetHashCode(); } if (Channel != 0) { hash ^= Channel.GetHashCode(); } if (ImageWidth != 0) { hash ^= ImageWidth.GetHashCode(); } if (ImageHeight != 0) { hash ^= ImageHeight.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <inheritdoc/> public override int GetHashCode() { return(ImageData.GetHashCode() ^ (ImageWidth.GetHashCode() << 1) ^ ((ImageHeight.GetHashCode() + 1) << 2) ^ ((PreserveAspectRatio.GetHashCode() + 1) << 10) ^ ((WrapMode.GetHashCode() + 1) << 20) ^ ((ImageOffsetX.GetHashCode() + 1) << 40) ^ ((ImageOffsetY.GetHashCode() + 1) << 60)); }
public override int GetHashCode() { return(((ImageUrl != null) ? ImageUrl.GetHashCode() : 0) ^ ((ImageWidth != null) ? ImageWidth.GetHashCode() : 0) ^ ((ImageHeight != null) ? ImageHeight.GetHashCode() : 0)); }