Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1632)

Delta Between Two Patch Sets: Src/GoogleApis/Apis/Requests/ClientServiceRequest.cs

Issue 12020043: Issue 325 - Remove discovery and codegen (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Left Patch Set: Created 11 years, 1 month ago
Right Patch Set: Sir miceli comment Created 11 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 /* 1 /*
2 Copyright 2011 Google Inc 2 Copyright 2011 Google Inc
3 3
4 Licensed under the Apache License, Version 2.0 (the "License"); 4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License. 5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at 6 You may obtain a copy of the License at
7 7
8 http://www.apache.org/licenses/LICENSE-2.0 8 http://www.apache.org/licenses/LICENSE-2.0
9 9
10 Unless required by applicable law or agreed to in writing, software 10 Unless required by applicable law or agreed to in writing, software
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 #endregion 65 #endregion
66 66
67 /// <summary> Creates a new service request. </summary> 67 /// <summary> Creates a new service request. </summary>
68 protected ClientServiceRequest(IClientService service) 68 protected ClientServiceRequest(IClientService service)
69 { 69 {
70 this.service = service; 70 this.service = service;
71 } 71 }
72 72
73 /// <summary>
74 /// Initializes request's parameters. Inherited classes MUST override th is method to add parameters to the
75 /// <see cref="RequestParameters"/> dictionary.
76 /// </summary>
73 protected virtual void InitParameters() 77 protected virtual void InitParameters()
74 { 78 {
75 RequestParameters = new Dictionary<string, IParameter>(); 79 RequestParameters = new Dictionary<string, IParameter>();
76 } 80 }
77 81
78 #region Execution 82 #region Execution
79 83
80 public TResponse Execute() 84 public TResponse Execute()
81 { 85 {
82 try 86 try
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 dict.Add(name, value); 375 dict.Add(name, value);
372 } 376 }
373 } 377 }
374 378
375 return dict; 379 return dict;
376 } 380 }
377 381
378 #endregion 382 #endregion
379 } 383 }
380 } 384 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b