コード例 #1
0
 public bool Equals(CollectionChanges <TExisting, TUpdated> other)
 {
     if (Object.ReferenceEquals(null, other))
     {
         return(false);
     }
     return
         (ToBeAdded.SequenceEqual(other.ToBeAdded) &&
          ToBeRemoved.SequenceEqual(other.ToBeRemoved) &&
          ToChange.SequenceEqual(other.ToChange));
 }