Ejemplo n.º 1
0
 void IXmlSerializable.WriteXml(XmlWriter writer)
 {
     if (writer == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("writer");
     }
     SyndicationFeedFormatter.TraceItemWriteBegin();
     WriteItem(writer);
     SyndicationFeedFormatter.TraceItemWriteEnd();
 }
Ejemplo n.º 2
0
        void IXmlSerializable.WriteXml(XmlWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException(nameof(writer));
            }
            SyndicationFeedFormatter.TraceItemWriteBegin();

            WriteItem(writer);
            SyndicationFeedFormatter.TraceItemWriteEnd();
        }
Ejemplo n.º 3
0
 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();
 }
Ejemplo n.º 4
0
 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();
 }
Ejemplo n.º 5
0
        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();
        }