public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { DateTimeLabelFormatting s = (DateTimeLabelFormatting)o ?? new DateTimeLabelFormatting(); info.GetBaseValueEmbedded(s, typeof(MultiLineLabelFormattingBase), parent); s._timeConversion = (DateTimeLabelFormatting.TimeConversion)info.GetEnum("TimeConversion", typeof(DateTimeLabelFormatting.TimeConversion)); s._formatString = info.GetString("FormatString"); s._showAlternateFormattingAtMidnight = info.GetBoolean("ShowAlternateFormattingAtMidnight"); s._showAlternateFormattingAtNoon = info.GetBoolean("ShowAlternateFormattingAtNoon"); s._formatStringAlternate = info.GetString("FormatStringAlternate"); return(s); }
public DateTimeLabelFormatting(DateTimeLabelFormatting from) : base(from) // everything is done here, since CopyFrom is virtual { }