Пример #1
0
 void IXmlSerializable.WriteXml(XmlWriter writer)
 {
     if (writer == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("writer");
     }
     SyndicationFeedFormatter.TraceItemWriteBegin();
     WriteItem(writer);
     SyndicationFeedFormatter.TraceItemWriteEnd();
 }
Пример #2
0
        void IXmlSerializable.WriteXml(XmlWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException(nameof(writer));
            }
            SyndicationFeedFormatter.TraceItemWriteBegin();

            WriteItem(writer);
            SyndicationFeedFormatter.TraceItemWriteEnd();
        }
Пример #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();
 }
Пример #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();
 }
Пример #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();
        }