diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-19 17:24:07 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-19 17:24:07 -0700 |
commit | cdfbd61ee254d396066eea9fcfaf578df2b773d0 (patch) | |
tree | c95757c653b3493e38d9ba379bd853acc23fb92c /samples/DotNetOpenAuth.ApplicationBlock | |
parent | 71d363716853191028cd2b750d52197290428734 (diff) | |
download | DotNetOpenAuth-cdfbd61ee254d396066eea9fcfaf578df2b773d0.zip DotNetOpenAuth-cdfbd61ee254d396066eea9fcfaf578df2b773d0.tar.gz DotNetOpenAuth-cdfbd61ee254d396066eea9fcfaf578df2b773d0.tar.bz2 |
Removed C# 4 usage from samples so they build under VS2008.
Diffstat (limited to 'samples/DotNetOpenAuth.ApplicationBlock')
-rw-r--r-- | samples/DotNetOpenAuth.ApplicationBlock/GoogleConsumer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/GoogleConsumer.cs b/samples/DotNetOpenAuth.ApplicationBlock/GoogleConsumer.cs index 2add642..558d4bc 100644 --- a/samples/DotNetOpenAuth.ApplicationBlock/GoogleConsumer.cs +++ b/samples/DotNetOpenAuth.ApplicationBlock/GoogleConsumer.cs @@ -207,12 +207,12 @@ namespace DotNetOpenAuth.ApplicationBlock { /// <summary> /// Gets the Gmail address book's contents. /// </summary> - /// <param name="consumer">The Google consumer previously constructed using <see cref="CreateWebConsumer"/> or <see cref="CreateDesktopConsumer"/>.</param> + /// <param name="consumer">The Google consumer.</param> /// <param name="accessToken">The access token previously retrieved.</param> /// <param name="maxResults">The maximum number of entries to return. If you want to receive all of the contacts, rather than only the default maximum, you can specify a very large number here.</param> /// <param name="startIndex">The 1-based index of the first result to be retrieved (for paging).</param> /// <returns>An XML document returned by Google.</returns> - public static XDocument GetContacts(ConsumerBase consumer, string accessToken, int maxResults = 25, int startIndex = 1) { + public static XDocument GetContacts(ConsumerBase consumer, string accessToken, int maxResults/* = 25*/, int startIndex/* = 1*/) { if (consumer == null) { throw new ArgumentNullException("consumer"); } |