mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 02:18:44 +00:00
added marker interfaces for missing clients
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
public interface IObservableBlobsClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a single Blob by SHA.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// http://developer.github.com/v3/git/blobs/#get-a-blob
|
||||
/// </remarks>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="reference">The SHA of the blob</param>
|
||||
/// <returns>The <see cref="Blob"/> for the specified SHA.</returns>
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")]
|
||||
IObservable<Blob> Get(string owner, string name, string reference);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new Blob
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// http://developer.github.com/v3/git/blobs/#create-a-blob
|
||||
/// </remarks>
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="newBlob">The new Blob</param>
|
||||
/// <returns>The <see cref="Blob"/> that was just created.</returns>
|
||||
IObservable<BlobReference> Create(string owner, string name, NewBlob newBlob);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
public interface IObservableIssuesLabelsClient
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -74,6 +74,8 @@
|
||||
<Compile Include="Clients\ObservableDeploymentsClient.cs" />
|
||||
<Compile Include="Clients\ObservableDeploymentStatusClient.cs" />
|
||||
<Compile Include="Clients\IObservableUserEmailsClient.cs" />
|
||||
<Compile Include="Clients\IObservableIssuesLabelsClient.cs" />
|
||||
<Compile Include="Clients\IObservableTeamsClient.cs" />
|
||||
<Compile Include="Clients\IObservableWatchedClient.cs" />
|
||||
<Compile Include="Clients\IObservableFollowersClient.cs" />
|
||||
<Compile Include="Clients\ObservableSearchClient.cs" />
|
||||
|
||||
Reference in New Issue
Block a user