Chnage LastApiInfo to GetLastApiInfo with cloned version

This commit is contained in:
Mark Taylor
2015-08-16 21:27:26 +01:00
parent 5bd1f1d6c5
commit b2c7e1c2a7
13 changed files with 224 additions and 33 deletions

View File

@@ -104,7 +104,10 @@ namespace Octokit
/// 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; } }
public ApiInfo GetLastApiInfo()
{
return Connection.GetLastApiInfo();
}
/// <summary>
/// Convenience property for getting and setting credentials.