Author: fmantek
Date: Wed May 23 02:37:09 2007
New Revision: 170
Modified:
trunk/clients/cs/src/gacl/aclfeed.cs
trunk/clients/cs/src/gspreadsheet/cellquery.cs
Log:
added AclQuery parameterized constructor
changed the CellQuery to not create Max query parameters if the max values are
== maxInt
Modified: trunk/clients/cs/src/gacl/aclfeed.cs
==============================================================================
--- trunk/clients/cs/src/gacl/aclfeed.cs (original)
+++ trunk/clients/cs/src/gacl/aclfeed.cs Wed May 23 02:37:09 2007
@@ -32,7 +32,25 @@
//////////////////////////////////////////////////////////////////////
public class AclQuery : FeedQuery
{
+ //////////////////////////////////////////////////////////////////////
+ /// <summary>default with no params</summary>
+ //////////////////////////////////////////////////////////////////////
+ public AclQuery() : base()
+ {
+ }
+ //////////////////////////////////////////////////////////////////////
+
+ //////////////////////////////////////////////////////////////////////
+ /// <summary>constructor taking a base URI constructor.</summary>
+ //////////////////////////////////////////////////////////////////////
+ public AclQuery(string baseUri) : base(baseUri)
+ {
+ }
+ //////////////////////////////////////////////////////////////////////
}
+
+
+
//////////////////////////////////////////////////////////////////////
/// <summary>
Modified: trunk/clients/cs/src/gspreadsheet/cellquery.cs
==============================================================================
--- trunk/clients/cs/src/gspreadsheet/cellquery.cs (original)
+++ trunk/clients/cs/src/gspreadsheet/cellquery.cs Wed May 23 02:37:09 2007
@@ -279,7 +279,7 @@
paramInsertion = '&';
}
- if (MaximumRow > 0)
+ if (MaximumRow > 0 && MaximumRow < uint.MaxValue)
{
newPath.Append(paramInsertion);
@@ -295,7 +295,7 @@
paramInsertion = '&';
}
- if (MaximumColumn > 0)
+ if (MaximumColumn > 0 && MaximumRow < uint.MaxValue)
{
newPath.Append(paramInsertion);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---