public override int GetHashCode() { unchecked { var hashCode = AccountId.GetHashCode(); hashCode = (hashCode * 397) ^ SecondaryId.GetHashCode(); hashCode = (hashCode * 397) ^ (Message != null ? Message.GetHashCode() : 0); return(hashCode); } }
public bool Equals( AzureTablesTestValue other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(AccountId.Equals(other.AccountId) && SecondaryId.Equals(other.SecondaryId) && Message == other.Message); }