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)); }
public virtual string Serialize(bool withPrefix) { return(ObjectSerializer.Serialize((withPrefix ? this : null), Path, RootFolder.ID, ScanDateStr, ImageCount.ToString(), VideoCount.ToString())); }
public override string Serialize(bool withPrefix) { return(ObjectSerializer.Serialize((withPrefix ? this : null), base.Serialize(false), ImageCount.ToString(), VideoCount.ToString())); }