mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
Renamed IApiInfo -> IApiInfoProvider
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
public interface IObservableGitHubClient : IApiInfo
|
||||
public interface IObservableGitHubClient : IApiInfoProvider
|
||||
{
|
||||
IConnection Connection { get; }
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// A Client for the GitHub API v3. You can read more about the api here: http://developer.github.com.
|
||||
/// </summary>
|
||||
public interface IGitHubClient : IApiInfo
|
||||
public interface IGitHubClient : IApiInfoProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides a client connection to make rest requests to HTTP endpoints.
|
||||
|
||||
@@ -399,7 +399,7 @@
|
||||
<Compile Include="Models\Response\ResourceRateLimit.cs" />
|
||||
<Compile Include="Models\Response\MiscellaneousRateLimit.cs" />
|
||||
<Compile Include="Exceptions\RepositoryFormatException.cs" />
|
||||
<Compile Include="Http\IApiInfo.cs" />
|
||||
<Compile Include="Http\IApiInfoProvider.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -415,7 +415,7 @@
|
||||
<Compile Include="Models\Response\ResourceRateLimit.cs" />
|
||||
<Compile Include="Models\Response\MiscellaneousRateLimit.cs" />
|
||||
<Compile Include="Exceptions\RepositoryFormatException.cs" />
|
||||
<Compile Include="Http\IApiInfo.cs" />
|
||||
<Compile Include="Http\IApiInfoProvider.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -408,7 +408,7 @@
|
||||
<Compile Include="Models\Response\ResourceRateLimit.cs" />
|
||||
<Compile Include="Models\Response\MiscellaneousRateLimit.cs" />
|
||||
<Compile Include="Exceptions\RepositoryFormatException.cs" />
|
||||
<Compile Include="Http\IApiInfo.cs" />
|
||||
<Compile Include="Http\IApiInfoProvider.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.MonoTouch.CSharp.targets" />
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
@@ -398,7 +398,7 @@
|
||||
<Compile Include="Models\Response\ResourceRateLimit.cs" />
|
||||
<Compile Include="Models\Response\MiscellaneousRateLimit.cs" />
|
||||
<Compile Include="Exceptions\RepositoryFormatException.cs" />
|
||||
<Compile Include="Http\IApiInfo.cs" />
|
||||
<Compile Include="Http\IApiInfoProvider.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CodeAnalysisDictionary Include="..\CustomDictionary.xml">
|
||||
|
||||
@@ -402,7 +402,7 @@
|
||||
<Compile Include="Models\Response\ResourceRateLimit.cs" />
|
||||
<Compile Include="Models\Response\MiscellaneousRateLimit.cs" />
|
||||
<Compile Include="Exceptions\RepositoryFormatException.cs" />
|
||||
<Compile Include="Http\IApiInfo.cs" />
|
||||
<Compile Include="Http\IApiInfoProvider.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CodeAnalysisDictionary Include="..\CustomDictionary.xml">
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
<Compile Include="Helpers\PropertyOrField.cs" />
|
||||
<Compile Include="Helpers\SerializeNullAttribute.cs" />
|
||||
<Compile Include="Http\HttpMessageHandlerFactory.cs" />
|
||||
<Compile Include="Http\IApiInfo.cs" />
|
||||
<Compile Include="Http\IApiInfoProvider.cs" />
|
||||
<Compile Include="Http\ProductHeaderValue.cs" />
|
||||
<Compile Include="Models\Request\GistFileUpdate.cs" />
|
||||
<Compile Include="Models\Request\NewMerge.cs" />
|
||||
|
||||
Reference in New Issue
Block a user