Author: fmantek
Date: Mon Sep 3 06:48:33 2007
New Revision: 225
Modified:
trunk/clients/cs/src/core/abstractfeed.cs
trunk/clients/cs/src/core/atombase.cs
trunk/clients/cs/src/core/request.cs
trunk/clients/cs/src/core/service.cs
trunk/clients/cs/src/core/serviceinterface.cs
trunk/clients/cs/src/core/tracing.cs
trunk/clients/cs/src/core/utilities.cs
trunk/clients/cs/src/extensions/gdatanametable.cs
Log:
Fixed up some xml comments
Modified: trunk/clients/cs/src/core/abstractfeed.cs
==============================================================================
--- trunk/clients/cs/src/core/abstractfeed.cs (original)
+++ trunk/clients/cs/src/core/abstractfeed.cs Mon Sep 3 06:48:33 2007
@@ -138,8 +138,7 @@
/// <summary>
/// event on the Feed to handle extension elements during parsing
/// </summary>
- /// <param name="e">the event arguments</param>
- /// <param name="parser">the parser that caused this</param>
+ /// <param name="e">the event arguments</param>
/// <param name="parser">the parser that caused this</param>
protected virtual void
HandleExtensionElements(ExtensionElementEventArgs e, AtomFeedParser parser)
{
Tracing.TraceMsg("Entering HandleExtensionElements on
AbstractFeed");
Modified: trunk/clients/cs/src/core/atombase.cs
==============================================================================
--- trunk/clients/cs/src/core/atombase.cs (original)
+++ trunk/clients/cs/src/core/atombase.cs Mon Sep 3 06:48:33 2007
@@ -323,8 +323,8 @@
/// the localname matches is found. If there are extensionelements
that do
/// not implment ExtensionElementFactory, they will not be taken into
account
/// Primary use of this is to find XML nodes
- /// </summary
- /// <param name="localName">the localname of the element</param>
+ /// </summary>
+ /// <param name="localName">the xml local name of the element to
find</param>
/// <param name="ns">the namespace of the elementToPersist</param>
/// <returns>Object</returns>
public Object FindExtension(string localName, string ns)
Modified: trunk/clients/cs/src/core/request.cs
==============================================================================
--- trunk/clients/cs/src/core/request.cs (original)
+++ trunk/clients/cs/src/core/request.cs Mon Sep 3 06:48:33 2007
@@ -30,13 +30,19 @@
namespace Google.GData.Client
{
-
+ /// <summary>
+ /// the class holds username and password to replace networkcredentials
+ /// </summary>
public class GDataCredentials
{
private string passWord;
private string userName;
- private string progLoginToken;
-
+
+ /// <summary>
+ /// default constructor
+ /// </summary>
+ /// <param name="username">the username to use</param>
+ /// <param name="password">the password to use</param>
public GDataCredentials(string username, string password)
{
this.userName = username;
@@ -64,6 +70,9 @@
}
// end of accessor Password
+ /// <summary>
+ /// returns a windows conforming NetworkCredential
+ /// </summary>
public ICredentials NetworkCredential
{
get
Modified: trunk/clients/cs/src/core/service.cs
==============================================================================
--- trunk/clients/cs/src/core/service.cs (original)
+++ trunk/clients/cs/src/core/service.cs Mon Sep 3 06:48:33 2007
@@ -542,6 +542,7 @@
/// <param name="targetUri"></param>
/// <param name="inputStream"></param>
/// <param name="type"></param>
+ /// <param name="contentType">the contenttype to use in the
request</param>
/// <returns>Stream</returns>
public Stream StreamSend(Uri targetUri,
Stream inputStream,
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 3 06:48:33 2007
@@ -64,8 +64,6 @@
AtomFeed Batch(AtomFeed feed, Uri batchUri);
/// <summary>simple update for media resources</summary>
AtomEntry Update(Uri uriTarget, Stream input, string contentType);
- /// <summary>simple insert for media resources</summary>
-// AtomEntry Insert(Uri uriTarget, Stream input, string contentType);
}
@@ -162,10 +160,24 @@
//////////////////////////////////////////////////////////////////////
public interface IExtensionElementFactory
{
- /// <summary>the only relevant method here</summary>
+ /// <summary>
+ /// returns the XML local name that is used
+ /// </summary>
string XmlName { get;}
+ /// <summary>
+ /// returns the XML namespace that is processed
+ /// </summary>
string XmlNameSpace { get;}
+ /// <summary>
+ /// returns the xml prefix used
+ /// </summary>
string XmlPrefix { get;}
+ /// <summary>
+ /// 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, AtomFeedParser parser);
}
Modified: trunk/clients/cs/src/core/tracing.cs
==============================================================================
--- trunk/clients/cs/src/core/tracing.cs (original)
+++ trunk/clients/cs/src/core/tracing.cs Mon Sep 3 06:48:33 2007
@@ -101,6 +101,8 @@
//////////////////////////////////////////////////////////////////////
/// <summary>Method to trace the current call with an additional
message</summary>
/// <param name="msg"> msg string to display</param>
+ /// <param name="startFrame">the startFrame to uses</param>
+ /// <param name="indent"> intendation</param>
//////////////////////////////////////////////////////////////////////
[Conditional("TRACE")] static private void TraceCall(string msg,
StackFrame startFrame, int indent)
{
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 3 06:48:33 2007
@@ -111,9 +111,8 @@
/// <summary>
/// used as a cover method to hide the actual decoding implementation
- ///
/// </summary>
- /// <param name="Value"></param>
+ /// <param name="value">the string to decode</param>
public static string DecodedValue(string value)
{
return System.Web.HttpUtility.HtmlDecode(value);
Modified: trunk/clients/cs/src/extensions/gdatanametable.cs
==============================================================================
--- trunk/clients/cs/src/extensions/gdatanametable.cs (original)
+++ trunk/clients/cs/src/extensions/gdatanametable.cs Mon Sep 3 06:48:33 2007
@@ -141,11 +141,11 @@
/// <summary>static string to specify the KML prefix used</summary>
public const string geoKmlPrefix = "georss";
- /// <summary>static string to specify the the where element/summary>
+ /// <summary>static string to specify the the where element</summary>
public const string GeoRssWhereElement = "where";
- /// <summary>static string to specify the the point element/summary>
+ /// <summary>static string to specify the the point element</summary>
public const string GeoKmlPointElement = "point";
- /// <summary>static string to specify the the pos element/summary>
+ /// <summary>static string to specify the the pos element</summary>
public const string GeoKmlPosElement = "pos";
#endregion
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---