public void WriteXml(XmlWriter w)
 {
     w.WriteElementString("CompositeType", CompositeType.ToString());
     w.WriteElementString("ImageCount", ImageCount.ToString(CultureInfo.InvariantCulture));
     w.WriteElementString("RefreshRate", RefreshRate.ToString(CultureInfo.InvariantCulture));
     w.WriteElementString("Start", Start.ToString(CultureInfo.InvariantCulture));
     w.WriteElementString("Interval", Interval.ToString(CultureInfo.InvariantCulture));
 }
Пример #2
0
 public virtual string Serialize(bool withPrefix)
 {
     return(ObjectSerializer.Serialize((withPrefix ? this : null), Path, RootFolder.ID, ScanDateStr, ImageCount.ToString(), VideoCount.ToString()));
 }
Пример #3
0
 public override string Serialize(bool withPrefix)
 {
     return(ObjectSerializer.Serialize((withPrefix ? this : null), base.Serialize(false), ImageCount.ToString(), VideoCount.ToString()));
 }