Author: atsushi
Date: 2007-12-07 13:05:58 -0500 (Fri, 07 Dec 2007)
New Revision: 90953
Added:
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/Rss20ItemFormatter.cs
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter_1.cs
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItemFormatter.cs
Modified:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ChangeLog
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationFeedFormatter.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-07 Atsushi Enomoto <[EMAIL PROTECTED]>
* Atom10ItemFormatter.cs, Atom10ItemFormatter_1.cs,
Rss20ItemFormatter.cs, Rss20ItemFormatter_1.cs,
SyndicationItemFormatter.cs : more new stubs.
* SyndicationFeedFormatter.cs, SyndicationItem.cs,
SyndicationLink.cs, SyndicationPerson.cs : more stub fixes.
Added:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter.cs
===================================================================
---
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter.cs
2007-12-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter.cs
2007-12-07 18:05:58 UTC (rev 90953)
@@ -0,0 +1,104 @@
+//
+// Atom10ItemFormatter.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.Collections.ObjectModel;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Syndication
+{
+ public class Atom10ItemFormatter : SyndicationItemFormatter
+ {
+ [MonoTODO]
+ public Atom10ItemFormatter ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Atom10ItemFormatter (SyndicationItem feedToWrite)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Atom10ItemFormatter (Type feedTypeToCreate)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected Type ItemType {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool PreserveAttributeExtensions {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool PreserveElementExtensions {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public override string Version {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ protected override SyndicationItem CreateItemInstance ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override bool CanRead (XmlReader reader)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override void ReadFrom (XmlReader reader)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override void WriteTo (XmlWriter writer)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
Property changes on:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
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-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter_1.cs
2007-12-07 18:05:58 UTC (rev 90953)
@@ -0,0 +1,53 @@
+//
+// Atom10ItemFormatter_1.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.Collections.ObjectModel;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Syndication
+{
+ public class Atom10ItemFormatter<TSyndicationItem> : Atom10ItemFormatter
+ where TSyndicationItem : SyndicationItem, new ()
+ {
+ [MonoTODO]
+ public Atom10ItemFormatter ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Atom10ItemFormatter (TSyndicationItem feedToWrite)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
Property changes on:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Atom10ItemFormatter_1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ChangeLog
===================================================================
---
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ChangeLog
2007-12-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/ChangeLog
2007-12-07 18:05:58 UTC (rev 90953)
@@ -1,5 +1,13 @@
2007-12-07 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * Atom10ItemFormatter.cs, Atom10ItemFormatter_1.cs,
+ Rss20ItemFormatter.cs, Rss20ItemFormatter_1.cs,
+ SyndicationItemFormatter.cs : more new stubs.
+ * SyndicationFeedFormatter.cs, SyndicationItem.cs,
+ SyndicationLink.cs, SyndicationPerson.cs : more stub fixes.
+
+2007-12-07 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* TextSyndicationContent.cs, XmlSyndicationContent.cs,
UrlSyndicationContent.cs : new stubs.
* SyndicationContent.cs, TextSyndicationContentKind.cs,
Added:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs
===================================================================
---
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs
2007-12-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs
2007-12-07 18:05:58 UTC (rev 90953)
@@ -0,0 +1,104 @@
+//
+// Rss20ItemFormatter.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.Collections.ObjectModel;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Syndication
+{
+ public class Rss20ItemFormatter : SyndicationItemFormatter
+ {
+ [MonoTODO]
+ public Rss20ItemFormatter ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Rss20ItemFormatter (SyndicationItem feedToWrite)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Rss20ItemFormatter (Type feedTypeToCreate)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected Type ItemType {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool PreserveAttributeExtensions {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public bool PreserveElementExtensions {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public override string Version {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ protected override SyndicationItem CreateItemInstance ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override bool CanRead (XmlReader reader)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override void ReadFrom (XmlReader reader)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public override void WriteTo (XmlWriter writer)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
Property changes on:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
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-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter_1.cs
2007-12-07 18:05:58 UTC (rev 90953)
@@ -0,0 +1,53 @@
+//
+// Rss20ItemFormatter_1.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.Collections.ObjectModel;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Syndication
+{
+ public class Rss20ItemFormatter<TSyndicationItem> : Rss20ItemFormatter
+ where TSyndicationItem : SyndicationItem, new ()
+ {
+ [MonoTODO]
+ public Rss20ItemFormatter ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Rss20ItemFormatter (TSyndicationItem feedToWrite)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
Property changes on:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter_1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationFeedFormatter.cs
===================================================================
---
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationFeedFormatter.cs
2007-12-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationFeedFormatter.cs
2007-12-07 18:05:58 UTC (rev 90953)
@@ -35,6 +35,7 @@
namespace System.ServiceModel.Syndication
{
+ [DataContract]
public abstract class SyndicationFeedFormatter
{
#region static members
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-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItem.cs
2007-12-07 18:05:58 UTC (rev 90953)
@@ -44,18 +44,26 @@
}
[MonoTODO]
- public SyndicationItem (string name)
+ public SyndicationItem (string title, string description, Uri
feedAlternateLink)
{
throw new NotImplementedException ();
}
[MonoTODO]
- public SyndicationItem (string name, string scheme, string
label)
+ public SyndicationItem (string title, string description, Uri
feedAlternateLink, string id,
+ DateTimeOffset lastUpdatedTime)
{
throw new NotImplementedException ();
}
[MonoTODO]
+ public SyndicationItem (string title, SyndicationContent
content, Uri feedAlternateLink, string id,
+ DateTimeOffset lastUpdatedTime)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
protected SyndicationItem (SyndicationItem source)
{
throw new NotImplementedException ();
@@ -72,30 +80,146 @@
}
[MonoTODO]
- public string Label {
+ public Collection<SyndicationPerson> Authors {
get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public Collection<SyndicationCategory> Categories {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public Collection<SyndicationPerson> Contributors {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public Collection<SyndicationLink> Links {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public Uri BaseUri {
+ get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
[MonoTODO]
- public string Name {
+ public TextSyndicationContent Copyright {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
[MonoTODO]
- public string Scheme {
+ public SyndicationContent Content {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
[MonoTODO]
+ public string Id {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public DateTimeOffset LastUpdatedTime {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public DateTimeOffset PublishDate {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public SyndicationFeed SourceFeed {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public TextSyndicationContent Summary {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public TextSyndicationContent Title {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
public virtual SyndicationItem Clone ()
{
throw new NotImplementedException ();
}
[MonoTODO]
+ protected internal virtual SyndicationCategory CreateCategory ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal virtual SyndicationLink CreateLink ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal virtual SyndicationPerson CreatePerson ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Atom10ItemFormatter GetAtom10Formatter ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Rss20ItemFormatter GetRss20Formatter ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public Rss20ItemFormatter GetRss20Formatter (bool
serializeExtensionsAsAtom)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static SyndicationItem Load (XmlReader reader)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static TSyndicationItem Load<TSyndicationItem>
(XmlReader reader) where TSyndicationItem : SyndicationItem
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void SaveAsAtom10 (XmlWriter writer)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void SaveAsRss20 (XmlWriter writer)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
protected internal virtual bool TryParseAttribute (string name,
string ns, string value, string version)
{
throw new NotImplementedException ();
Added:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItemFormatter.cs
===================================================================
---
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItemFormatter.cs
2007-12-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItemFormatter.cs
2007-12-07 18:05:58 UTC (rev 90953)
@@ -0,0 +1,235 @@
+//
+// SyndicationItemFormatter.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.Collections.ObjectModel;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel.Syndication
+{
+ [DataContract]
+ public abstract class SyndicationItemFormatter
+ {
+ #region static members
+
+ [MonoTODO]
+ protected internal static SyndicationCategory CreateCategory
(SyndicationItem item)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static SyndicationLink CreateLink
(SyndicationItem item)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static SyndicationPerson CreatePerson
(SyndicationItem item)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static void LoadElementExtensions (XmlReader
reader, SyndicationCategory category, int maxExtensionSize)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static void LoadElementExtensions (XmlReader
reader, SyndicationItem item, int maxExtensionSize)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static void LoadElementExtensions (XmlReader
reader, SyndicationLink link, int maxExtensionSize)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static void LoadElementExtensions (XmlReader
reader, SyndicationPerson person, int maxExtensionSize)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static bool TryParseAttribute (string name,
string ns, string value, SyndicationCategory category, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static bool TryParseAttribute (string name,
string ns, string value, SyndicationItem item, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static bool TryParseAttribute (string name,
string ns, string value, SyndicationLink link, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static bool TryParseAttribute (string name,
string ns, string value, SyndicationPerson person, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static bool TryParseContent (XmlReader
reader, SyndicationItem item, string contentType, string version, out
SyndicationContent content)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static bool TryParseElement (XmlReader
reader, SyndicationCategory category, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static bool TryParseElement (XmlReader
reader, SyndicationItem item, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static bool TryParseElement (XmlReader
reader, SyndicationLink link, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static bool TryParseElement (XmlReader
reader, SyndicationPerson person, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static void WriteAttributeExtensions
(XmlWriter writer, SyndicationCategory category, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static void WriteAttributeExtensions
(XmlWriter writer, SyndicationItem item, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static void WriteAttributeExtensions
(XmlWriter writer, SyndicationLink link, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static void WriteAttributeExtensions
(XmlWriter writer, SyndicationPerson person, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal void WriteElementExtensions (XmlWriter
writer, SyndicationCategory category, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal static void WriteElementExtensions
(XmlWriter writer, SyndicationItem item, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal void WriteElementExtensions (XmlWriter
writer, SyndicationLink link, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal void WriteElementExtensions (XmlWriter
writer, SyndicationPerson person, string version)
+ {
+ throw new NotImplementedException ();
+ }
+
+ #endregion
+
+ #region instance members
+
+ [MonoTODO]
+ protected SyndicationItemFormatter ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected SyndicationItemFormatter (SyndicationItem itemToWrite)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected internal virtual void SetItem (SyndicationItem item)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public SyndicationItem Item {
+ get { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public abstract string Version { get; }
+
+ [MonoTODO]
+ protected abstract SyndicationItem CreateItemInstance ();
+
+ public abstract bool CanRead (XmlReader reader);
+
+ public abstract void ReadFrom (XmlReader reader);
+
+ [MonoTODO]
+ public abstract void WriteTo (XmlWriter writer);
+
+ [MonoTODO]
+ public override string ToString ()
+ {
+ return base.ToString ();
+ }
+
+ #endregion
+ }
+}
Property changes on:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationItemFormatter.cs
___________________________________________________________________
Name: svn:eol-style
+ native
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-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationLink.cs
2007-12-07 18:05:58 UTC (rev 90953)
@@ -38,19 +38,50 @@
public class SyndicationLink
{
[MonoTODO]
+ public static SyndicationLink CreateAlternateLink (Uri uri)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static SyndicationLink CreateAlternateLink (Uri uri,
string mediaType)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static SyndicationLink CreateMediaEnclosureLink (Uri
uri, string mediaType, long length)
+
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static SyndicationLink CreateSelfLink (Uri uri)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static SyndicationLink CreateSelfLink (Uri uri, string
mediaType)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
public SyndicationLink ()
{
throw new NotImplementedException ();
}
[MonoTODO]
- public SyndicationLink (string name)
+ public SyndicationLink (Uri uri)
{
throw new NotImplementedException ();
}
[MonoTODO]
- public SyndicationLink (string name, string scheme, string
label)
+ public SyndicationLink (Uri uri, string relationshipType,
string title, string mediaType, long length)
{
throw new NotImplementedException ();
}
@@ -72,24 +103,42 @@
}
[MonoTODO]
- public string Label {
+ public Uri BaseUri {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
[MonoTODO]
- public string Name {
+ public long Length {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
[MonoTODO]
- public string Scheme {
+ public string MediaType {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
[MonoTODO]
+ public string RelationshipType {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public string Title {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
+ public Uri Uri {
+ get { throw new NotImplementedException (); }
+ set { throw new NotImplementedException (); }
+ }
+
+ [MonoTODO]
public virtual SyndicationLink Clone ()
{
throw new NotImplementedException ();
@@ -119,5 +168,11 @@
{
throw new NotImplementedException ();
}
+
+ [MonoTODO]
+ public Uri GetAbsoluteUri ()
+ {
+ throw new NotImplementedException ();
+ }
}
}
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-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Syndication/SyndicationPerson.cs
2007-12-07 18:05:58 UTC (rev 90953)
@@ -72,7 +72,7 @@
}
[MonoTODO]
- public string Label {
+ public string Email {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
@@ -84,7 +84,7 @@
}
[MonoTODO]
- public string Scheme {
+ public string Uri {
get { throw new NotImplementedException (); }
set { throw new NotImplementedException (); }
}
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-07 18:05:10 UTC (rev 90952)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel.Web.dll.sources
2007-12-07 18:05:58 UTC (rev 90953)
@@ -10,8 +10,12 @@
System.Runtime.Serialization.Json/JsonWriter.cs
System.ServiceModel.Syndication/Atom10FeedFormatter.cs
System.ServiceModel.Syndication/Atom10FeedFormatter_1.cs
+System.ServiceModel.Syndication/Atom10ItemFormatter.cs
+System.ServiceModel.Syndication/Atom10ItemFormatter_1.cs
System.ServiceModel.Syndication/Rss20FeedFormatter.cs
System.ServiceModel.Syndication/Rss20FeedFormatter_1.cs
+System.ServiceModel.Syndication/Rss20ItemFormatter.cs
+System.ServiceModel.Syndication/Rss20ItemFormatter_1.cs
System.ServiceModel.Syndication/SyndicationCategory.cs
System.ServiceModel.Syndication/SyndicationContent.cs
System.ServiceModel.Syndication/SyndicationElementExtension.cs
@@ -19,6 +23,7 @@
System.ServiceModel.Syndication/SyndicationFeed.cs
System.ServiceModel.Syndication/SyndicationFeedFormatter.cs
System.ServiceModel.Syndication/SyndicationItem.cs
+System.ServiceModel.Syndication/SyndicationItemFormatter.cs
System.ServiceModel.Syndication/SyndicationLink.cs
System.ServiceModel.Syndication/SyndicationPerson.cs
System.ServiceModel.Syndication/SyndicationVersions.cs
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches