예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((ExtractFileMessageGuid.GetHashCode() * 397) ^ AnonymisedFilePath.GetHashCode());
     }
 }
예제 #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);
 }