public static GenericEqualityComparer <T> ByAllMembers(IEnumerable <IEqualityComparer> customComparers) { return(new GenericEqualityComparer <T>((x, y) => MemberComparer.Equal(x, y, customComparers))); }
public static GenericEqualityComparer <T> ByAllMembers() { return(new GenericEqualityComparer <T>((x, y) => MemberComparer.Equal(x, y))); }