Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((ExtractFileMessageGuid.GetHashCode() * 397) ^ AnonymisedFilePath.GetHashCode());
     }
 }
Exemplo n.º 2
0
 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);
 }