protected virtual bool EqualsImpl(EquatableByValue <T> otherEquatable) => GetAllAttributesToBeUsedForEquality().SequenceEqual(otherEquatable.GetAllAttributesToBeUsedForEquality());
예제 #2
0
 protected virtual bool EqualsImpl(EquatableByValue <T> otherEquatable)
 {
     // Implementation where orders of the elements matters.
     return(GetAllAttributesToBeUsedForEquality().SequenceEqual(otherEquatable.GetAllAttributesToBeUsedForEquality()));
 }