Author: atsushi
Date: 2007-12-10 01:37:39 -0500 (Mon, 10 Dec 2007)
New Revision: 91027

Added:
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ISyndicationElement.cs
Modified:
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10FeedFormatter.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10FeedFormatter_1.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter_1.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ChangeLog
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20FeedFormatter.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20FeedFormatter_1.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter_1.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationCategory.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationElementExtension.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationElementExtensionCollection.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationFeed.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItem.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationLink.cs
   
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationPerson.cs
   trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources
Log:
2007-12-10  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * Atom10FeedFormatter.cs Atom10FeedFormatter_1.cs
          Atom10ItemFormatter.cs Atom10ItemFormatter_1.cs
          Rss20FeedFormatter.cs Rss20FeedFormatter_1.cs
          Rss20ItemFormatter.cs Rss20ItemFormatter_1.cs
          SyndicationCategory.cs SyndicationElementExtension.cs
          SyndicationElementExtensionCollection.cs SyndicationFeed.cs
          SyndicationItem.cs SyndicationLink.cs SyndicationPerson.cs:
          finished stubs.
        * ISyndicationElement.cs : internal interface, introduced to reduce
          corcompare obstacles.



Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10FeedFormatter.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10FeedFormatter.cs
    2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10FeedFormatter.cs
    2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,10 +32,13 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Schema;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
-       public class Atom10FeedFormatter : SyndicationFeedFormatter
+       [XmlRoot ("feed", Namespace = "http://www.w3.org/2005/Atom";)]
+       public class Atom10FeedFormatter : SyndicationFeedFormatter, 
IXmlSerializable
        {
                [MonoTODO]
                public Atom10FeedFormatter ()
@@ -124,5 +127,23 @@
                {
                        throw new NotImplementedException ();
                }
+
+               [MonoTODO]
+               void IXmlSerializable.ReadXml (XmlReader reader)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               void IXmlSerializable.WriteXml (XmlWriter writer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               XmlSchema IXmlSerializable.GetSchema ()
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10FeedFormatter_1.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10FeedFormatter_1.cs
  2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10FeedFormatter_1.cs
  2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,9 +32,11 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
+       [XmlRoot ("feed", Namespace = "http://www.w3.org/2005/Atom";)]
        public class Atom10FeedFormatter<TSyndicationFeed> : Atom10FeedFormatter
                        where TSyndicationFeed : SyndicationFeed, new ()
        {
@@ -49,5 +51,11 @@
                {
                        throw new NotImplementedException ();
                }
+
+               [MonoTODO]
+               protected override SyndicationFeed CreateFeedInstance ()
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter.cs
    2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter.cs
    2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,10 +32,13 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Schema;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
-       public class Atom10ItemFormatter : SyndicationItemFormatter
+       [XmlRoot ("entry", Namespace = "http://www.w3.org/2005/Atom";)]
+       public class Atom10ItemFormatter : SyndicationItemFormatter, 
IXmlSerializable
        {
                [MonoTODO]
                public Atom10ItemFormatter ()
@@ -100,5 +103,23 @@
                {
                        throw new NotImplementedException ();
                }
+
+               [MonoTODO]
+               void IXmlSerializable.ReadXml (XmlReader reader)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               void IXmlSerializable.WriteXml (XmlWriter writer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               XmlSchema IXmlSerializable.GetSchema ()
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter_1.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter_1.cs
  2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter_1.cs
  2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,9 +32,11 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
+       [XmlRoot ("entry", Namespace = "http://www.w3.org/2005/Atom";)]
        public class Atom10ItemFormatter<TSyndicationItem> : Atom10ItemFormatter
                        where TSyndicationItem : SyndicationItem, new ()
        {
@@ -49,5 +51,11 @@
                {
                        throw new NotImplementedException ();
                }
+
+               [MonoTODO]
+               protected override SyndicationItem CreateItemInstance ()
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ChangeLog
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ChangeLog
 2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ChangeLog
 2007-12-10 06:37:39 UTC (rev 91027)
@@ -1,3 +1,16 @@
+2007-12-10  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * Atom10FeedFormatter.cs Atom10FeedFormatter_1.cs
+         Atom10ItemFormatter.cs Atom10ItemFormatter_1.cs
+         Rss20FeedFormatter.cs Rss20FeedFormatter_1.cs
+         Rss20ItemFormatter.cs Rss20ItemFormatter_1.cs
+         SyndicationCategory.cs SyndicationElementExtension.cs
+         SyndicationElementExtensionCollection.cs SyndicationFeed.cs
+         SyndicationItem.cs SyndicationLink.cs SyndicationPerson.cs:
+         finished stubs.
+       * ISyndicationElement.cs : internal interface, introduced to reduce
+         corcompare obstacles.
+
 2007-12-07  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * Atom10ItemFormatter.cs, Atom10ItemFormatter_1.cs,

Added: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ISyndicationElement.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ISyndicationElement.cs
    2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ISyndicationElement.cs
    2007-12-10 06:37:39 UTC (rev 91027)
@@ -0,0 +1,42 @@
+//
+// Atom10FeedFormatter.cs
+//
+// Author:
+//     Atsushi Enomoto  <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+using System;
+using System.Collections.Generic;
+using System.Xml;
+
+namespace System.ServiceModel.Syndication
+{
+       // For now it makes few points; just to hide some corcompare obstacles
+       // for "Final Virtual" members in syndication elements.
+       interface ISyndicationElement
+       {
+               Dictionary<XmlQualifiedName, string> AttributeExtensions { get; 
}
+
+               SyndicationElementExtensionCollection ElementExtensions { get; }
+       }
+}


Property changes on: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ISyndicationElement.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20FeedFormatter.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20FeedFormatter.cs
     2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20FeedFormatter.cs
     2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,10 +32,13 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Schema;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
-       public class Rss20FeedFormatter : SyndicationFeedFormatter
+       [XmlRoot ("rss", Namespace = "")]
+       public class Rss20FeedFormatter : SyndicationFeedFormatter, 
IXmlSerializable
        {
                [MonoTODO]
                public Rss20FeedFormatter ()
@@ -50,12 +53,24 @@
                }
 
                [MonoTODO]
+               public Rss20FeedFormatter (SyndicationFeed feedToWrite, bool 
serializeExtensionsAsAtom)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
                public Rss20FeedFormatter (Type feedTypeToCreate)
                {
                        throw new NotImplementedException ();
                }
 
                [MonoTODO]
+               public bool SerializeExtensionsAsAtom {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
                protected Type FeedType {
                        get { throw new NotImplementedException (); }
                }
@@ -84,6 +99,12 @@
                }
 
                [MonoTODO]
+               protected internal override void SetFeed (SyndicationFeed feed)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
                public override bool CanRead (XmlReader reader)
                {
                        throw new NotImplementedException ();
@@ -124,5 +145,23 @@
                {
                        throw new NotImplementedException ();
                }
+
+               [MonoTODO]
+               void IXmlSerializable.ReadXml (XmlReader reader)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               void IXmlSerializable.WriteXml (XmlWriter writer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               XmlSchema IXmlSerializable.GetSchema ()
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20FeedFormatter_1.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20FeedFormatter_1.cs
   2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20FeedFormatter_1.cs
   2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,9 +32,11 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
+       [XmlRoot ("rss", Namespace = "")]
        public class Rss20FeedFormatter<TSyndicationFeed> : Rss20FeedFormatter
                        where TSyndicationFeed : SyndicationFeed, new ()
        {
@@ -49,5 +51,17 @@
                {
                        throw new NotImplementedException ();
                }
+
+               [MonoTODO]
+               public Rss20FeedFormatter (TSyndicationFeed feedToWrite, bool 
serializeExtensionsAsAtom)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override SyndicationFeed CreateFeedInstance ()
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs
     2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs
     2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,10 +32,13 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Schema;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
-       public class Rss20ItemFormatter : SyndicationItemFormatter
+       [XmlRoot ("item", Namespace = "")]
+       public class Rss20ItemFormatter : SyndicationItemFormatter, 
IXmlSerializable
        {
                [MonoTODO]
                public Rss20ItemFormatter ()
@@ -50,12 +53,24 @@
                }
 
                [MonoTODO]
+               public Rss20ItemFormatter (SyndicationItem feedToWrite, bool 
serializeExtensionsAsAtom)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
                public Rss20ItemFormatter (Type feedTypeToCreate)
                {
                        throw new NotImplementedException ();
                }
 
                [MonoTODO]
+               public bool SerializeExtensionsAsAtom {
+                       get { throw new NotImplementedException (); }
+                       set { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
                protected Type ItemType {
                        get { throw new NotImplementedException (); }
                }
@@ -100,5 +115,23 @@
                {
                        throw new NotImplementedException ();
                }
+
+               [MonoTODO]
+               void IXmlSerializable.ReadXml (XmlReader reader)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               void IXmlSerializable.WriteXml (XmlWriter writer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               XmlSchema IXmlSerializable.GetSchema ()
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter_1.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter_1.cs
   2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter_1.cs
   2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,9 +32,11 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
+       [XmlRoot ("item", Namespace = "")]
        public class Rss20ItemFormatter<TSyndicationItem> : Rss20ItemFormatter
                        where TSyndicationItem : SyndicationItem, new ()
        {
@@ -49,5 +51,17 @@
                {
                        throw new NotImplementedException ();
                }
+
+               [MonoTODO]
+               public Rss20ItemFormatter (TSyndicationItem feedToWrite, bool 
serializeExtensionsAsAtom)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override SyndicationItem CreateItemInstance ()
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationCategory.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationCategory.cs
    2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationCategory.cs
    2007-12-10 06:37:39 UTC (rev 91027)
@@ -35,7 +35,7 @@
 
 namespace System.ServiceModel.Syndication
 {
-       public class SyndicationCategory
+       public class SyndicationCategory : ISyndicationElement
        {
                [MonoTODO]
                public SyndicationCategory ()

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationElementExtension.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationElementExtension.cs
    2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationElementExtension.cs
    2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,10 +32,86 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
        public class SyndicationElementExtension
        {
+               [MonoTODO]
+               public SyndicationElementExtension (object 
dataContractExtension)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public SyndicationElementExtension (object 
dataContractExtension, XmlObjectSerializer dataContractSerializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public SyndicationElementExtension (object 
xmlSerializerExtension, XmlSerializer serializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public SyndicationElementExtension (string outerName, string 
outerNamespace, object dataContractExtension)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public SyndicationElementExtension (string outerName, string 
outerNamespace, object dataContractExtension, XmlObjectSerializer 
dataContractSerializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public SyndicationElementExtension (XmlReader xmlReader)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public string OuterName {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public string OuterNamespace {
+                       get { throw new NotImplementedException (); }
+               }
+
+               [MonoTODO]
+               public TExtension GetObject<TExtension> ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public TExtension GetObject<TExtension> (XmlObjectSerializer 
serializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public TExtension GetObject<TExtension> (XmlSerializer 
serializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public XmlReader GetReader ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void WriteTo (XmlWriter writer)
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationElementExtensionCollection.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationElementExtensionCollection.cs
  2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationElementExtensionCollection.cs
  2007-12-10 06:37:39 UTC (rev 91027)
@@ -32,10 +32,98 @@
 using System.Runtime.Serialization;
 using System.Text;
 using System.Xml;
+using System.Xml.Serialization;
 
 namespace System.ServiceModel.Syndication
 {
        public sealed class SyndicationElementExtensionCollection : 
Collection<SyndicationElementExtension>
        {
+               internal SyndicationElementExtensionCollection ()
+               {
+               }
+
+               [MonoTODO]
+               public void Add (object extension)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void Add (object dataContractExtension, 
DataContractSerializer serializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void Add (object xmlSerializerExtension, XmlSerializer 
serializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void Add (string outerName, string outerNamespace, 
object dataContractExtension)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void Add (string outerName, string outerNamespace, 
object dataContractExtension, XmlObjectSerializer dataContractSerializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public void Add (XmlReader xmlReader)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override void ClearItems ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public XmlReader GetReaderAtElementExtensions ()
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override void InsertItem (int index, 
SyndicationElementExtension item)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public Collection<TExtension> ReadElementExtensions<TExtension> 
(string extensionName, string extensionNamespace)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public Collection<TExtension> ReadElementExtensions<TExtension> 
(string extensionName, string extensionNamespace, XmlObjectSerializer 
serializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public Collection<TExtension> ReadElementExtensions<TExtension> 
(string extensionName, string extensionNamespace, XmlSerializer serializer)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override void RemoveItem (int index)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               protected override void SetItem (int index, 
SyndicationElementExtension item)
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationFeed.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationFeed.cs
        2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationFeed.cs
        2007-12-10 06:37:39 UTC (rev 91027)
@@ -35,7 +35,7 @@
 
 namespace System.ServiceModel.Syndication
 {
-       public class SyndicationFeed
+       public class SyndicationFeed : ISyndicationElement
        {
                [MonoTODO]
                public SyndicationFeed ()

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItem.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItem.cs
        2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItem.cs
        2007-12-10 06:37:39 UTC (rev 91027)
@@ -35,7 +35,7 @@
 
 namespace System.ServiceModel.Syndication
 {
-       public class SyndicationItem
+       public class SyndicationItem : ISyndicationElement
        {
                [MonoTODO]
                public SyndicationItem ()
@@ -154,6 +154,12 @@
                }
 
                [MonoTODO]
+               public void AddPermalink (Uri link)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
                public virtual SyndicationItem Clone ()
                {
                        throw new NotImplementedException ();
@@ -226,6 +232,12 @@
                }
 
                [MonoTODO]
+               protected internal virtual bool TryParseContent (XmlReader 
reader, string contentType, string version, out SyndicationContent content)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
                protected internal virtual bool TryParseElement (XmlReader 
reader, string version)
                {
                        throw new NotImplementedException ();

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationLink.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationLink.cs
        2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationLink.cs
        2007-12-10 06:37:39 UTC (rev 91027)
@@ -35,7 +35,7 @@
 
 namespace System.ServiceModel.Syndication
 {
-       public class SyndicationLink
+       public class SyndicationLink : ISyndicationElement
        {
                [MonoTODO]
                public static SyndicationLink CreateAlternateLink (Uri uri)

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationPerson.cs
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationPerson.cs
      2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationPerson.cs
      2007-12-10 06:37:39 UTC (rev 91027)
@@ -35,7 +35,7 @@
 
 namespace System.ServiceModel.Syndication
 {
-       public class SyndicationPerson
+       public class SyndicationPerson : ISyndicationElement
        {
                [MonoTODO]
                public SyndicationPerson ()

Modified: 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources
===================================================================
--- 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources   
    2007-12-10 03:16:47 UTC (rev 91026)
+++ 
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources   
    2007-12-10 06:37:39 UTC (rev 91027)
@@ -12,6 +12,7 @@
 System.ServiceModel.Syndication/Atom10FeedFormatter_1.cs
 System.ServiceModel.Syndication/Atom10ItemFormatter.cs
 System.ServiceModel.Syndication/Atom10ItemFormatter_1.cs
+System.ServiceModel.Syndication/ISyndicationElement.cs
 System.ServiceModel.Syndication/Rss20FeedFormatter.cs
 System.ServiceModel.Syndication/Rss20FeedFormatter_1.cs
 System.ServiceModel.Syndication/Rss20ItemFormatter.cs

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to