Ejemplo n.º 1
0
        public override bool Equals(System.Object obj)
        {
            bool isEqual = false;

            if (obj is Shape)
            {
                Shape shape = (Shape)obj;

                if (((shape.shapeRecords == null) && (this.shapeRecords == null)) || ((shape.shapeRecords != null) && (this.shapeRecords != null) && ArrayLists.equals(shape.shapeRecords, this.shapeRecords)))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
Ejemplo n.º 2
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (object_Renamed is TagList)
            {
                TagList tagList = (TagList)object_Renamed;

                if (((tagList.tags == null) && (this.tags == null)) || ((tagList.tags != null) && (this.tags != null) && ArrayLists.equals(tagList.tags, this.tags)))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is StyleChangeRecord))
            {
                StyleChangeRecord styleChangeRecord = (StyleChangeRecord)object_Renamed;

                if ((styleChangeRecord.stateNewStyles == this.stateNewStyles) && (styleChangeRecord.stateLineStyle == this.stateLineStyle) && (styleChangeRecord.stateFillStyle1 == this.stateFillStyle1) && (styleChangeRecord.stateFillStyle0 == this.stateFillStyle0) && (styleChangeRecord.stateMoveTo == this.stateMoveTo) && (styleChangeRecord.moveDeltaX == this.moveDeltaX) && (styleChangeRecord.moveDeltaY == this.moveDeltaY) && (styleChangeRecord.fillstyle0 == this.fillstyle0) && (styleChangeRecord.fillstyle1 == this.fillstyle1) && (styleChangeRecord.linestyle == this.linestyle) && (((styleChangeRecord.fillstyles == null) && (this.fillstyles == null)) || ((styleChangeRecord.fillstyles != null) && (this.fillstyles != null) && ArrayLists.equals(styleChangeRecord.fillstyles, this.fillstyles))) && (((styleChangeRecord.linestyles == null) && (this.linestyles == null)) || ((styleChangeRecord.linestyles != null) && (this.linestyles != null) && ArrayLists.equals(styleChangeRecord.linestyles, this.linestyles))))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
Ejemplo n.º 4
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (base.Equals(object_Renamed) && (object_Renamed is ShapeWithStyle))
            {
                ShapeWithStyle shapeWithStyle = (ShapeWithStyle)object_Renamed;

                if ((((shapeWithStyle.fillstyles == null) && (this.fillstyles == null)) || ((shapeWithStyle.fillstyles != null) && (this.fillstyles != null) && ArrayLists.equals(shapeWithStyle.fillstyles, this.fillstyles))) && (((shapeWithStyle.linestyles == null) && (this.linestyles == null)) || ((shapeWithStyle.linestyles != null) && (this.linestyles != null) && ArrayLists.equals(shapeWithStyle.linestyles, this.linestyles))))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
Ejemplo n.º 5
0
        public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (object_Renamed is ClipActions)
            {
                ClipActions clipActions = (ClipActions)object_Renamed;

                if ((clipActions.allEventFlags == this.allEventFlags) && (((clipActions.clipActionRecords == null) && (this.clipActionRecords == null)) || ((clipActions.clipActionRecords != null) && (this.clipActionRecords != null) && ArrayLists.equals(clipActions.clipActionRecords, this.clipActionRecords))))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }