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

View File

@@ -100,6 +100,12 @@ namespace Octokit
Deployment = new DeploymentsClient(apiConnection);
}
/// <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 Connection.LastApiInfo; } }
/// <summary>
/// Convenience property for getting and setting credentials.
/// </summary>