コード例 #1
0
            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);
            }
コード例 #2
0
		public DateTimeLabelFormatting(DateTimeLabelFormatting from)
			: base(from) // everything is done here, since CopyFrom is virtual
		{
		}
コード例 #3
0
 public DateTimeLabelFormatting(DateTimeLabelFormatting from)
     : base(from) // everything is done here, since CopyFrom is virtual
 {
 }