public virtual object Clone() { DateTimeAxisRescaleConditions result = new DateTimeAxisRescaleConditions(); result.CopyFrom(this); return(result); }
public DateTimeAxisRescaleController(DateTimeAxisRescaleConditions doc, DateTimeScale ax) { _doc = doc; _axis = ax; SetElements(true); }
public bool IsEqualTo(DateTimeAxisRescaleConditions b) { return (this._orgRescaling == b._orgRescaling && this._org == b._org && this._endRescaling == b._endRescaling && this._end == b._end && this._spanRescaling == b._spanRescaling && this._span == b._span); }
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { DateTimeAxisRescaleConditions s = (DateTimeAxisRescaleConditions)obj; info.AddEnum("OrgRescaling", s._orgRescaling); info.AddValue("Org", s._org); info.AddEnum("EndRescaling", s._endRescaling); info.AddValue("End", s._end); info.AddEnum("SpanRescaling", s._spanRescaling); info.AddValue("Span", s._span); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { DateTimeAxisRescaleConditions s = null != o ? (DateTimeAxisRescaleConditions)o : new DateTimeAxisRescaleConditions(); s._orgRescaling = (BoundaryRescaling)info.GetEnum("OrgRescaling", typeof(BoundaryRescaling)); s._org = info.GetDateTime("Org"); s._endRescaling = (BoundaryRescaling)info.GetEnum("EndRescaling", typeof(BoundaryRescaling)); s._end = info.GetDateTime("End"); s._spanRescaling = (BoundaryRescaling)info.GetEnum("SpanRescaling", typeof(BoundaryRescaling)); s._span = info.GetTimeSpan("Span"); return(s); }
/// <summary> /// Copies the data from another object. /// </summary> /// <param name="from">The object to copy the data from.</param> public void CopyFrom(DateTimeAxisRescaleConditions from) { bool bEqual = this.IsEqualTo(from); this._orgRescaling = from._orgRescaling; this._endRescaling = from._endRescaling; this._spanRescaling = from._spanRescaling; this._org = from._org; this._end = from._end; this._span = from._span; if(!bEqual) OnChanged(); }
/// <summary> /// Copies the data from another object. /// </summary> /// <param name="from">The object to copy the data from.</param> public void CopyFrom(DateTimeAxisRescaleConditions from) { bool bEqual = this.IsEqualTo(from); this._orgRescaling = from._orgRescaling; this._endRescaling = from._endRescaling; this._spanRescaling = from._spanRescaling; this._org = from._org; this._end = from._end; this._span = from._span; if (!bEqual) { OnChanged(); } }
public virtual object Clone() { DateTimeAxisRescaleConditions result = new DateTimeAxisRescaleConditions(); result.CopyFrom(this); return result; }
public bool IsEqualTo( DateTimeAxisRescaleConditions b) { return this._orgRescaling == b._orgRescaling && this._org == b._org && this._endRescaling == b._endRescaling && this._end == b._end && this._spanRescaling == b._spanRescaling && this._span == b._span; }