/// <summary> /// Returns true if ImageMICRParameters instances are equal /// </summary> /// <param name="input">Instance of ImageMICRParameters to be compared</param> /// <returns>Boolean</returns> public bool Equals(ImageMICRParameters input) { if (input == null) { return(false); } return (( FileId == input.FileId || (FileId != null && FileId.Equals(input.FileId)) ) && ( PageRange == input.PageRange || (PageRange != null && PageRange.Equals(input.PageRange)) ) && ( Font == input.Font || Font.Equals(input.Font) ) && ( Context == input.Context || Context.Equals(input.Context) ) && ( WhiteList == input.WhiteList || (WhiteList != null && WhiteList.Equals(input.WhiteList)) ) && ( RoiLeft == input.RoiLeft || RoiLeft.Equals(input.RoiLeft) ) && ( RoiTop == input.RoiTop || RoiTop.Equals(input.RoiTop) ) && ( RoiWidth == input.RoiWidth || RoiWidth.Equals(input.RoiWidth) ) && ( RoiHeight == input.RoiHeight || RoiHeight.Equals(input.RoiHeight) ) && ( ExpectedSymbolsCount == input.ExpectedSymbolsCount || ExpectedSymbolsCount.Equals(input.ExpectedSymbolsCount) )); }