/// <summary> /// Helper method for Clone (actual implementation) /// </summary> /// <param name="a">The original object to clone.</param> /// <param name="b">The cloned object.</param> protected void DoClone(LogAxis b, LogAxis a) { Axis.DoClone(b, a); // add specific elemtents of the class for the deep copy of the object a.numberSmallTicks_ = b.numberSmallTicks_; a.largeTickValue_ = b.largeTickValue_; a.largeTickStep_ = b.largeTickStep_; }
/// <summary> /// Deep Copy of the LogAxis. /// </summary> /// <returns>A Copy of the LogAxis Class.</returns> public override object Clone() { LogAxis a = new LogAxis(); if (GetType() != a.GetType()) { throw new XwPlotException("Clone not defined in derived type. Help!"); } DoClone(this, a); return(a); }
/// <summary> /// Helper method for Clone (actual implementation) /// </summary> /// <param name="a">The original object to clone.</param> /// <param name="b">The cloned object.</param> protected void DoClone(LogAxis b, LogAxis a) { Axis.DoClone(b,a); // add specific elemtents of the class for the deep copy of the object a.numberSmallTicks_ = b.numberSmallTicks_; a.largeTickValue_ = b.largeTickValue_; a.largeTickStep_ = b.largeTickStep_; }
/// <summary> /// Deep Copy of the LogAxis. /// </summary> /// <returns>A Copy of the LogAxis Class.</returns> public override object Clone() { LogAxis a = new LogAxis(); if (GetType() != a.GetType()) { throw new XwPlotException ("Clone not defined in derived type. Help!"); } DoClone (this, a); return a; }