Exemplo n.º 1
0
 public bool Equals(HeaderFooterTemplateItem other)
 {
     return(base.Equals(other) &&
            (WantDivider == other.WantDivider) &&
            (PixelHeight == other.PixelHeight) &&
            DrawingColor.Equals(BackColor, other.BackColor));
 }
Exemplo n.º 2
0
        public bool Equals(HtmlReportTemplate other)
        {
            if (other == null)
            {
                return(false);
            }

            if (!BackImage.Equals(other.BackImage))
            {
                return(false);
            }

            if (!DrawingColor.Equals(BackColor, other.BackColor))
            {
                return(false);
            }

            if (!Header.Equals(other.Header))
            {
                return(false);
            }

            if (!Title.Equals(other.Title))
            {
                return(false);
            }

            if (!Task.Equals(other.Task))
            {
                return(false);
            }

            if (!Footer.Equals(other.Footer))
            {
                return(false);
            }

            return(true);
        }