public static bool IsEqual(this BindingList <Point> @this, BindingList <Point> other) { if (!(@this != null && other != null && @this.RaiseListChangedEvents == other.RaiseListChangedEvents && @this.AllowNew == other.AllowNew && @this.AllowEdit == other.AllowEdit && @this.AllowRemove == other.AllowRemove && @this.Count == other.Count)) { return(false); } return(@this.CheckSequenceEquals(other)); }
public static void IsEqual(this BindingList <Point> @this, BindingList <Point> other, bool isSamePlatform) { if (@this == null && other == null) { return; } Assert.NotNull(@this); Assert.NotNull(other); Assert.Equal(@this.RaiseListChangedEvents, other.RaiseListChangedEvents); Assert.Equal(@this.AllowNew, other.AllowNew); Assert.Equal(@this.AllowEdit, other.AllowEdit); Assert.Equal(@this.AllowRemove, other.AllowRemove); Assert.Equal(@this.Count, other.Count); @this.CheckSequenceEquals(other, isSamePlatform); }