Files
octokit.net/Octokit/Http/IApiInfoProvider.cs
aedampir@gmail.com 29ada0c15e IApiInfoProvider fixes
2016-03-29 17:38:14 +07:00

16 lines
690 B
C#

namespace Octokit
{
/// <summary>
/// Provides a property for the Last recorded API information
/// </summary>
public interface IApiInfoProvider
{
/// <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>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
ApiInfo GetLastApiInfo();
}
}