/// <summary cref="ICloneable.Clone" /> public virtual object Clone() { AxisInformation clone = (AxisInformation)this.MemberwiseClone(); clone.m_engineeringUnits = (EUInformation)Utils.Clone(this.m_engineeringUnits); clone.m_eURange = (Range)Utils.Clone(this.m_eURange); clone.m_title = (LocalizedText)Utils.Clone(this.m_title); clone.m_axisScaleType = (AxisScaleEnumeration)Utils.Clone(this.m_axisScaleType); clone.m_axisSteps = (DoubleCollection)Utils.Clone(this.m_axisSteps); return(clone); }
/// <summary cref="IEncodeable.IsEqual(IEncodeable)" /> public virtual bool IsEqual(IEncodeable encodeable) { if (Object.ReferenceEquals(this, encodeable)) { return(true); } AxisInformation value = encodeable as AxisInformation; if (value == null) { return(false); } if (!Utils.IsEqual(m_engineeringUnits, value.m_engineeringUnits)) { return(false); } if (!Utils.IsEqual(m_eURange, value.m_eURange)) { return(false); } if (!Utils.IsEqual(m_title, value.m_title)) { return(false); } if (!Utils.IsEqual(m_axisScaleType, value.m_axisScaleType)) { return(false); } if (!Utils.IsEqual(m_axisSteps, value.m_axisSteps)) { return(false); } return(true); }