File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ public interface IRestRequest
183
183
/// <param name="obj">The object with properties to add as parameters</param>
184
184
/// <param name="includedProperties">The names of the properties to include</param>
185
185
/// <returns>This request</returns>
186
- IRestRequest AddObject ( object obj , string [ ] includedProperties ) ;
186
+ IRestRequest AddObject ( object obj , params string [ ] includedProperties ) ;
187
187
188
188
/// <summary>
189
189
/// Calls AddParameter() for all public, readable properties of obj
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ public IRestRequest AddBody (object obj)
260
260
/// <param name="obj">The object with properties to add as parameters</param>
261
261
/// <param name="includedProperties">The names of the properties to include</param>
262
262
/// <returns>This request</returns>
263
- public IRestRequest AddObject ( object obj , string [ ] includedProperties )
263
+ public IRestRequest AddObject ( object obj , params string [ ] includedProperties )
264
264
{
265
265
// automatically create parameters from object props
266
266
var type = obj . GetType ( ) ;
You can’t perform that action at this time.
0 commit comments