Ejemplo n.º 1
0
        /// <summary>
        /// Compares for reference AND value equality.
        /// </summary>
        /// <param name="obj">The object to compare with this instance.</param>
        /// <returns>
        ///     <c>true</c> if both operands are equal; otherwise, <c>false</c>.
        /// </returns>
        public bool Equals(IffFundamentalData obj)
        {
            bool ivarsEqual = true;

            if (obj.GetType() != this.GetType())
            {
                return(false);
            }

            if (this._systemStatus != obj._systemStatus)
            {
                ivarsEqual = false;
            }

            if (this._alternateParameter4 != obj._alternateParameter4)
            {
                ivarsEqual = false;
            }

            if (this._informationLayers != obj._informationLayers)
            {
                ivarsEqual = false;
            }

            if (this._modifier != obj._modifier)
            {
                ivarsEqual = false;
            }

            if (this._parameter1 != obj._parameter1)
            {
                ivarsEqual = false;
            }

            if (this._parameter2 != obj._parameter2)
            {
                ivarsEqual = false;
            }

            if (this._parameter3 != obj._parameter3)
            {
                ivarsEqual = false;
            }

            if (this._parameter4 != obj._parameter4)
            {
                ivarsEqual = false;
            }

            if (this._parameter5 != obj._parameter5)
            {
                ivarsEqual = false;
            }

            if (this._parameter6 != obj._parameter6)
            {
                ivarsEqual = false;
            }

            return(ivarsEqual);
        }
        /// <summary>
        /// Compares for reference AND value equality.
        /// </summary>
        /// <param name="obj">The object to compare with this instance.</param>
        /// <returns>
        /// 	<c>true</c> if both operands are equal; otherwise, <c>false</c>.
        /// </returns>
        public bool Equals(IffFundamentalData obj)
        {
            bool ivarsEqual = true;

            if (obj.GetType() != this.GetType())
            {
                return false;
            }

            if (this._systemStatus != obj._systemStatus)
            {
                ivarsEqual = false;
            }

            if (this._alternateParameter4 != obj._alternateParameter4)
            {
                ivarsEqual = false;
            }

            if (this._informationLayers != obj._informationLayers)
            {
                ivarsEqual = false;
            }

            if (this._modifier != obj._modifier)
            {
                ivarsEqual = false;
            }

            if (this._parameter1 != obj._parameter1)
            {
                ivarsEqual = false;
            }

            if (this._parameter2 != obj._parameter2)
            {
                ivarsEqual = false;
            }

            if (this._parameter3 != obj._parameter3)
            {
                ivarsEqual = false;
            }

            if (this._parameter4 != obj._parameter4)
            {
                ivarsEqual = false;
            }

            if (this._parameter5 != obj._parameter5)
            {
                ivarsEqual = false;
            }

            if (this._parameter6 != obj._parameter6)
            {
                ivarsEqual = false;
            }

            return ivarsEqual;
        }