コード例 #1
0
        /// <summary>
        /// Returns true if DashboardWidgetOptionsBean instances are equal
        /// </summary>
        /// <param name="input">Instance of DashboardWidgetOptionsBean to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(DashboardWidgetOptionsBean input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     Uri == input.Uri ||
                     (Uri != null &&
                      Uri.Equals(input.Uri))
                     ) &&
                 (
                     ChartId == input.ChartId ||
                     (ChartId != null &&
                      ChartId.Equals(input.ChartId))
                 ) &&
                 (
                     ServiceId == input.ServiceId ||
                     (ServiceId != null &&
                      ServiceId.Equals(input.ServiceId))
                 ) &&
                 (
                     ItemId == input.ItemId ||
                     (ItemId != null &&
                      ItemId.Equals(input.ItemId))
                 ) &&
                 (
                     BarWidth == input.BarWidth ||
                     (BarWidth != null &&
                      BarWidth.Equals(input.BarWidth))
                 ) &&
                 (
                     BorderWidth == input.BorderWidth ||
                     (BorderWidth != null &&
                      BorderWidth.Equals(input.BorderWidth))
                 ) &&
                 (
                     Angle == input.Angle ||
                     (Angle != null &&
                      Angle.Equals(input.Angle))
                 ) &&
                 (
                     Rotate == input.Rotate ||
                     (Rotate != null &&
                      Rotate.Equals(input.Rotate))
                 ) &&
                 (
                     BarAngle == input.BarAngle ||
                     (BarAngle != null &&
                      BarAngle.Equals(input.BarAngle))
                 ) &&
                 (
                     LineCap == input.LineCap ||
                     (LineCap != null &&
                      LineCap.Equals(input.LineCap))
                 ) &&
                 (
                     ScaleMin == input.ScaleMin ||
                     (ScaleMin != null &&
                      ScaleMin.Equals(input.ScaleMin))
                 ) &&
                 (
                     ScaleMax == input.ScaleMax ||
                     (ScaleMax != null &&
                      ScaleMax.Equals(input.ScaleMax))
                 ) &&
                 (
                     Title == input.Title ||
                     (Title != null &&
                      Title.Equals(input.Title))
                 ) &&
                 (
                     Units == input.Units ||
                     (Units != null &&
                      Units.Equals(input.Units))
                 ) &&
                 (
                     Group == input.Group ||
                     (Group != null &&
                      Group.Equals(input.Group))
                 ) &&
                 (
                     FloorplanId == input.FloorplanId ||
                     (FloorplanId != null &&
                      FloorplanId.Equals(input.FloorplanId))
                 ));
        }