WIP checkin for getting last ApiInfo object

This commit is contained in:
Mark Taylor
2015-07-31 10:35:51 +01:00
parent a7bc09e767
commit f8ee4f94a1
19 changed files with 241 additions and 7 deletions
+6
View File
@@ -136,6 +136,12 @@ namespace Octokit
_jsonPipeline = new JsonHttpPipeline();
}
/// <summary>
/// Gets the latest API Info - this will be null if no API calls have been made
/// </summary>
/// <returns><seealso cref="ApiInfo"/> representing the information returned as part of an Api call</returns>
public ApiInfo LastApiInfo { get { return _httpClient.LastApiInfo; } }
public Task<IApiResponse<T>> Get<T>(Uri uri, IDictionary<string, string> parameters, string accepts)
{
Ensure.ArgumentNotNull(uri, "uri");