public override int GetHashCode() { unchecked { return((ExtractFileMessageGuid.GetHashCode() * 397) ^ AnonymisedFilePath.GetHashCode()); } }
public bool Equals(MongoExpectedFileInfoDoc other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ExtractFileMessageGuid.Equals(other.ExtractFileMessageGuid) && AnonymisedFilePath == other.AnonymisedFilePath); }