/// <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(EEFundamentalParameterData obj) { bool ivarsEqual = true; if (obj.GetType() != this.GetType()) { return(false); } if (this._frequency != obj._frequency) { ivarsEqual = false; } if (this._frequencyRange != obj._frequencyRange) { ivarsEqual = false; } if (this._effectiveRadiatedPower != obj._effectiveRadiatedPower) { ivarsEqual = false; } if (this._pulseRepetitionFrequency != obj._pulseRepetitionFrequency) { ivarsEqual = false; } if (this._pulseWidth != obj._pulseWidth) { 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(EEFundamentalParameterData obj) { bool ivarsEqual = true; if (obj.GetType() != this.GetType()) { return false; } if (this._frequency != obj._frequency) { ivarsEqual = false; } if (this._frequencyRange != obj._frequencyRange) { ivarsEqual = false; } if (this._effectiveRadiatedPower != obj._effectiveRadiatedPower) { ivarsEqual = false; } if (this._pulseRepetitionFrequency != obj._pulseRepetitionFrequency) { ivarsEqual = false; } if (this._pulseWidth != obj._pulseWidth) { ivarsEqual = false; } return ivarsEqual; }