/// <summary> /// Returns true if PagedResultInventoryOrderAssetResource instances are equal /// </summary> /// <param name="other">Instance of PagedResultInventoryOrderAssetResource to be compared</param> /// <returns>Boolean</returns> public bool Equals(PagedResultInventoryOrderAssetResource other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Results == other.Results || Results != null && Results.SequenceEqual(other.Results) ) && ( CurrentPage == other.CurrentPage || CurrentPage != null && CurrentPage.Equals(other.CurrentPage) ) && ( PageCount == other.PageCount || PageCount != null && PageCount.Equals(other.PageCount) ) && ( PageSize == other.PageSize || PageSize != null && PageSize.Equals(other.PageSize) ) && ( RowCount == other.RowCount || RowCount != null && RowCount.Equals(other.RowCount) ) && ( FirstRowOnPage == other.FirstRowOnPage || FirstRowOnPage != null && FirstRowOnPage.Equals(other.FirstRowOnPage) ) && ( LastRowOnPage == other.LastRowOnPage || LastRowOnPage != null && LastRowOnPage.Equals(other.LastRowOnPage) )); }
public bool EqualSize(Matrix other) { return(ColumnCount.Equals(other.ColumnCount) && RowCount.Equals(other.RowCount)); }