Page parameters weren't being passed through in Syro tool

This commit is contained in:
Rikki Tooley 2014-11-16 20:39:21 +00:00
parent 9bdb7b13c0
commit f4ea6ca238
2 changed files with 1 additions and 3 deletions

View File

@ -18,6 +18,7 @@ public DummyGetAsyncCommand(ILastAuth auth)
public override void SetParameters()
{
AddPagingParameters();
}
public async override Task<T> HandleResponse(HttpResponseMessage response)

View File

@ -271,9 +271,6 @@ private async Task ExecuteSelectedCommand()
var countProperty = genericType.GetProperty("Count", BindingFlags.Public | BindingFlags.Instance);
countProperty.SetValue(instance, int.Parse(CommandItemCount));
var addPageParamsMethod = genericType.GetMethods(BindingFlags.NonPublic | BindingFlags.Instance).First(m => m.Name == "AddPagingParameters");
addPageParamsMethod.Invoke(instance, null);
}
var parametersProperty = genericType.GetProperty("Parameters",