mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
Renamed IApiInfo -> IApiInfoProvider
This commit is contained in:
@@ -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
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user