Files
octokit.net/Octokit/Http/IApiInfoProvider.cs
2019-10-30 13:51:20 -03: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();
}
}