eshivakant / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Add the body-parameter last instead of first #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is much more convenient to have the body parameter at the end instead of the 
front. Examples:

.Insert(new Task(...), "taskid")
.Insert("taskid", new Task(...))

We should also do this change as the library would then be consistent with the 
other libraries (Java, ...)

Original issue reported on code.google.com by mlin...@google.com on 18 Jul 2011 at 7:48

GoogleCodeExporter commented 9 years ago
I decided to leave it as the first parameter, as it would look problematic when 
using optional parameters:

.Insert("taskid", new Task(...), optionalParameter: "something")

Original comment by mlin...@google.com on 18 Jul 2011 at 8:19