Author: fmantek
Date: Mon Sep 17 04:24:49 2007
New Revision: 253
Modified:
trunk/clients/cs/src/VS2003/gextension/gextension.csproj
trunk/clients/cs/src/VS2003/gphotos/gphotos.csproj
trunk/clients/cs/src/core/abstractentry.cs
trunk/clients/cs/src/core/serviceinterface.cs
trunk/clients/cs/src/core/utilities.cs
trunk/clients/cs/src/extensions/extensionbase.cs
trunk/clients/cs/src/extensions/simplecontainer.cs
trunk/clients/cs/src/gcalendar/evententry.cs
trunk/clients/cs/src/gcalendar/webcontent.cs
trunk/clients/cs/src/gphotos/albumentry.cs
trunk/clients/cs/src/gphotos/kindsquery.cs
trunk/clients/cs/src/gphotos/photoentry.cs
trunk/clients/cs/src/gphotos/picasaentry.cs
trunk/clients/cs/src/gphotos/picasaquery.cs
Log:
removed some dead code, fixed the vs2003 project for the new files
Modified: trunk/clients/cs/src/VS2003/gextension/gextension.csproj
==============================================================================
--- trunk/clients/cs/src/VS2003/gextension/gextension.csproj (original)
+++ trunk/clients/cs/src/VS2003/gextension/gextension.csproj Mon Sep 17
04:24:49 2007
@@ -157,6 +157,12 @@
BuildAction = "Compile"
/>
<File
+ RelPath = "extensionbase.cs"
+ Link = "..\..\extensions\extensionbase.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
RelPath = "feedlink.cs"
Link = "..\..\extensions\feedlink.cs"
SubType = "Code"
Modified: trunk/clients/cs/src/VS2003/gphotos/gphotos.csproj
==============================================================================
--- trunk/clients/cs/src/VS2003/gphotos/gphotos.csproj (original)
+++ trunk/clients/cs/src/VS2003/gphotos/gphotos.csproj Mon Sep 17 04:24:49 2007
@@ -142,6 +142,18 @@
BuildAction = "Compile"
/>
<File
+ RelPath = "picasaentry.cs"
+ Link = "..\..\gphotos\picasaentry.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
+ RelPath = "picasafeed.cs"
+ Link = "..\..\gphotos\picasafeed.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
RelPath = "picasaquery.cs"
Link = "..\..\gphotos\picasaquery.cs"
SubType = "Code"
Modified: trunk/clients/cs/src/core/abstractentry.cs
==============================================================================
--- trunk/clients/cs/src/core/abstractentry.cs (original)
+++ trunk/clients/cs/src/core/abstractentry.cs Mon Sep 17 04:24:49 2007
@@ -79,7 +79,6 @@
{
Tracing.TraceMsg("Entring default Parsing for AbstractEntry");
- IExtensionElement ele = null;
IExtensionElementFactory f =
FindExtensionFactory(node.LocalName,
node.NamespaceURI);
if (f != null)
Modified: trunk/clients/cs/src/core/serviceinterface.cs
==============================================================================
--- trunk/clients/cs/src/core/serviceinterface.cs (original)
+++ trunk/clients/cs/src/core/serviceinterface.cs Mon Sep 17 04:24:49 2007
@@ -178,7 +178,6 @@
/// instantiates the correct extensiohn element
/// </summary>
/// <param name="node">the xmlnode to parse</param>
- /// <param name="parser">the feedparser used</param>
/// <returns></returns>
IExtensionElement CreateInstance(XmlNode node);
}
Modified: trunk/clients/cs/src/core/utilities.cs
==============================================================================
--- trunk/clients/cs/src/core/utilities.cs (original)
+++ trunk/clients/cs/src/core/utilities.cs Mon Sep 17 04:24:49 2007
@@ -97,7 +97,7 @@
/// string representation. XSD requires true/false
/// this method encapsulates this
/// </summary>
- /// <param name="flag">the object to convert</param>
+ /// <param name="obj">the object to convert</param>
/// <returns>the string representation</returns>
public static string ConvertToXSDString(Object obj)
{
Modified: trunk/clients/cs/src/extensions/extensionbase.cs
==============================================================================
--- trunk/clients/cs/src/extensions/extensionbase.cs (original)
+++ trunk/clients/cs/src/extensions/extensionbase.cs Mon Sep 17 04:24:49 2007
@@ -31,7 +31,6 @@
private string xmlName;
private string xmlPrefix;
private string xmlNamespace;
- private string value;
/// <summary>
/// this holds the attribute list for an extension element
/// </summary>
Modified: trunk/clients/cs/src/extensions/simplecontainer.cs
==============================================================================
--- trunk/clients/cs/src/extensions/simplecontainer.cs (original)
+++ trunk/clients/cs/src/extensions/simplecontainer.cs Mon Sep 17 04:24:49 2007
@@ -103,7 +103,6 @@
/// </summary>
/// <param name="localName">the xml local name of the element to
find</param>
/// <param name="ns">the namespace of the elementToPersist</param>
- /// <param name="arr">the array to fill</param>
/// <returns>none</returns>
public ArrayList FindExtensions(string localName, string ns)
{
Modified: trunk/clients/cs/src/gcalendar/evententry.cs
==============================================================================
--- trunk/clients/cs/src/gcalendar/evententry.cs (original)
+++ trunk/clients/cs/src/gcalendar/evententry.cs Mon Sep 17 04:24:49 2007
@@ -459,7 +459,7 @@
/// property accessor QuickAdd
/// To create an event using Google Calendar's quick add feature, set
the event
/// entry's content to the quick add string you'd like to use. Then
add a
- /// <gCal:quickadd> element with a value attribute set to true
+ /// gCal:quickadd element with a value attribute set to true
/// </summary>
public bool QuickAdd
{
Modified: trunk/clients/cs/src/gcalendar/webcontent.cs
==============================================================================
--- trunk/clients/cs/src/gcalendar/webcontent.cs (original)
+++ trunk/clients/cs/src/gcalendar/webcontent.cs Mon Sep 17 04:24:49 2007
@@ -86,9 +86,8 @@
#region WebContent Parser
//////////////////////////////////////////////////////////////////////
- /// <summary>Parses an xml node to create a Who object.</summary>
- /// <param name="node">georsswhere node</param>
- /// <param name="parser">AtomFeedParser to use</param>
+ /// <summary>Parses an xml node to create a webcontent
object.</summary>
+ /// <param name="node">xml node</param>
/// <returns>the created SimpleElement object</returns>
//////////////////////////////////////////////////////////////////////
public IExtensionElement CreateInstance(XmlNode node)
Modified: trunk/clients/cs/src/gphotos/albumentry.cs
==============================================================================
--- trunk/clients/cs/src/gphotos/albumentry.cs (original)
+++ trunk/clients/cs/src/gphotos/albumentry.cs Mon Sep 17 04:24:49 2007
@@ -125,7 +125,7 @@
/// <summary>
/// The number of remaining photo uploads allowed in this album.
/// This is equivalent to the user's maximum number of photos per
- /// album (<gphoto:maxPhotosPerAlbum>) minus the number of photos
+ /// album (gphoto:maxPhotosPerAlbum) minus the number of photos
/// currently in the album (<gphoto:numphotos>).
/// </summary>
public uint NumPhotosRemaining
Modified: trunk/clients/cs/src/gphotos/kindsquery.cs
==============================================================================
--- trunk/clients/cs/src/gphotos/kindsquery.cs (original)
+++ trunk/clients/cs/src/gphotos/kindsquery.cs Mon Sep 17 04:24:49 2007
@@ -47,6 +47,7 @@
/// base constructor, with initial queryUri
/// </summary>
/// <param name="queryUri">the query to use</param>
+ /// <param name="kind">the kind of query</param>
public KindQuery(string queryUri, Kinds kind)
: base(queryUri)
{
@@ -54,8 +55,8 @@
}
//////////////////////////////////////////////////////////////////////
- /// <summary>read only: the kinds to retrieve
- /// <returns> </returns>
+ /// <summary>read only: the kinds to retrieve</summary>
+ /// <returns>an array of Kinds </returns>
//////////////////////////////////////////////////////////////////////
public override Kinds[] KindParameter
{
Modified: trunk/clients/cs/src/gphotos/photoentry.cs
==============================================================================
--- trunk/clients/cs/src/gphotos/photoentry.cs (original)
+++ trunk/clients/cs/src/gphotos/photoentry.cs Mon Sep 17 04:24:49 2007
@@ -47,12 +47,6 @@
Tracing.TraceMsg("Created PhotoEntry");
Categories.Add(PHOTO_CATEGORY);
}
-
-
- public PhotoEntry(PicasaEntry entry) : base()
- {
- }
-
}
/// <summary>
Modified: trunk/clients/cs/src/gphotos/picasaentry.cs
==============================================================================
--- trunk/clients/cs/src/gphotos/picasaentry.cs (original)
+++ trunk/clients/cs/src/gphotos/picasaentry.cs Mon Sep 17 04:24:49 2007
@@ -129,57 +129,6 @@
/// <summary>
- /// casts an intance of a photoentry to access
- /// </summary>
- public PhotoEntry Photo
- {
- get
- {
- if (this.IsPhoto == true)
- {
- return (PhotoEntry) this.MemberwiseClone();
- }
- return null;
- }
- }
-
- public AlbumEntry Album
- {
- get
- {
- if (this.IsAlbum == true)
- {
- return this.MemberwiseClone() as AlbumEntry;
- }
- return null;
- }
- }
- public CommentEntry Comment
- {
- get
- {
- if (this.IsComment == true)
- {
- return this.MemberwiseClone() as CommentEntry;
- }
- return null;
- }
- }
-
- public TagEntry Tag
- {
- get
- {
- if (this.IsTag == true)
- {
- return this.MemberwiseClone() as TagEntry;
- }
- return null;
- }
- }
-
-
- /// <summary>
/// instead of having 20 extension elements
/// we have one string based getter
/// usage is: entry.getPhotoExtension("albumid") to get the element
@@ -225,6 +174,7 @@
/// entry.setPhotoExtension("albumid", "new Value");
/// </summary>
/// <param name="extension">the name of the extension to look
for</param>
+ /// <param name="newValue">the new value for this extension
element</param>
/// <returns>SimpleElement, either a brand new one, or the one
/// returned by the service</returns>
public SimpleElement setPhotoExtension(string extension, string
newValue)
Modified: trunk/clients/cs/src/gphotos/picasaquery.cs
==============================================================================
--- trunk/clients/cs/src/gphotos/picasaquery.cs (original)
+++ trunk/clients/cs/src/gphotos/picasaquery.cs Mon Sep 17 04:24:49 2007
@@ -112,6 +112,9 @@
private AccessLevel access;
private string thumbsize;
+ /// <summary>
+ /// picasa base URI
+ /// </summary>
public static string picasaBaseUri =
"http://picasaweb.google.com/data/feed/";
/// <summary>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---