Renamed IApiInfo -> IApiInfoProvider

This commit is contained in:
Kristian Hellang
2015-07-31 12:08:16 +02:00
parent f8ee4f94a1
commit a6a6fdf13f
11 changed files with 12 additions and 18 deletions
@@ -1,15 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Octokit
namespace Octokit
{
/// <summary>
/// Provides a property for the Last recorded API infomation
/// </summary>
public interface IApiInfo
public interface IApiInfoProvider
{
/// <summary>
/// Gets the latest API Info - this will be null if no API calls have been made
+1 -1
View File
@@ -10,7 +10,7 @@ namespace Octokit
/// <summary>
/// A connection for making HTTP requests against URI endpoints.
/// </summary>
public interface IConnection : IApiInfo
public interface IConnection : IApiInfoProvider
{
/// <summary>
/// Performs an asynchronous HTTP GET request that expects a <seealso cref="IResponse"/> containing HTML.
+1 -1
View File
@@ -10,7 +10,7 @@ namespace Octokit.Internal
/// <remarks>
/// Most folks won't ever need to swap this out. But if you're trying to run this on Windows Phone, you might.
/// </remarks>
public interface IHttpClient : IDisposable, IApiInfo
public interface IHttpClient : IDisposable, IApiInfoProvider
{
/// <summary>
/// Sends the specified request and returns a response.