Exemplo n.º 1
0
 protected override System.Collections.Generic.IEnumerable <Main.DocumentNodeAndName> GetDocumentNodeChildrenWithName()
 {
     if (null != _dataBounds)
     {
         yield return(new Main.DocumentNodeAndName(_dataBounds, () => _dataBounds = null, "DataBounds"));
     }
     if (null != _rescaling)
     {
         yield return(new Main.DocumentNodeAndName(_rescaling, () => _rescaling = null, "Rescaling"));
     }
     if (null != _tickSpacing)
     {
         yield return(new Main.DocumentNodeAndName(_tickSpacing, () => _tickSpacing = null, "TickSpacing"));
     }
 }
Exemplo n.º 2
0
 public DateTimeScale()
 {
     _dataBounds = new FiniteDateTimeBoundaries()
     {
         ParentObject = this
     };
     _rescaling = new DateTimeScaleRescaleConditions()
     {
         ParentObject = this
     };
     _tickSpacing = new Ticks.DateTimeTickSpacing()
     {
         ParentObject = this
     };
     UpdateTicksAndOrgEndUsingRescalingObject();
 }
Exemplo n.º 3
0
 public DateTimeTickSpacing(DateTimeTickSpacing from)
     : base(from) // everything is done here, since CopyFrom is virtual!
 {
 }
Exemplo n.º 4
0
            protected virtual DateTimeTickSpacing SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                DateTimeTickSpacing s = null != o ? (DateTimeTickSpacing)o : new DateTimeTickSpacing();

                return(s);
            }
Exemplo n.º 5
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                DateTimeTickSpacing s = SDeserialize(o, info, parent);

                return(s);
            }