void IXmlSerializable.WriteXml(XmlWriter writer) { if (writer == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("writer"); } SyndicationFeedFormatter.TraceItemWriteBegin(); WriteItem(writer); SyndicationFeedFormatter.TraceItemWriteEnd(); }
void IXmlSerializable.WriteXml(XmlWriter writer) { if (writer == null) { throw new ArgumentNullException(nameof(writer)); } SyndicationFeedFormatter.TraceItemWriteBegin(); WriteItem(writer); SyndicationFeedFormatter.TraceItemWriteEnd(); }
public override void WriteTo(XmlWriter writer) { if (writer == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("writer"); } SyndicationFeedFormatter.TraceItemWriteBegin(); writer.WriteStartElement(Atom10Constants.EntryTag, Atom10Constants.Atom10Namespace); WriteItem(writer); writer.WriteEndElement(); SyndicationFeedFormatter.TraceItemWriteEnd(); }
public override void WriteTo(XmlWriter writer) { if (writer == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("writer"); } SyndicationFeedFormatter.TraceItemWriteBegin(); writer.WriteStartElement("entry", "http://www.w3.org/2005/Atom"); this.WriteItem(writer); writer.WriteEndElement(); SyndicationFeedFormatter.TraceItemWriteEnd(); }
public override void WriteTo(XmlWriter writer) { if (writer == null) { throw new ArgumentNullException(nameof(writer)); } SyndicationFeedFormatter.TraceItemWriteBegin(); writer.WriteStartElement(Rss20Constants.ItemTag, Rss20Constants.Rss20Namespace); WriteItem(writer); writer.WriteEndElement(); SyndicationFeedFormatter.TraceItemWriteEnd(); }