From d7eb8fd3054e4de6b891e97c9db8fd308437b317 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Fri, 7 Feb 2014 09:30:05 +1100 Subject: [PATCH] added marker interfaces for missing clients --- .../Clients/IObservableBlobsClient.cs | 32 +++++++++++++++++++ .../Clients/IObservableIssuesLabelsClient.cs | 12 +++++++ Octokit.Reactive/Octokit.Reactive.csproj | 2 ++ 3 files changed, 46 insertions(+) create mode 100644 Octokit.Reactive/Clients/IObservableBlobsClient.cs create mode 100644 Octokit.Reactive/Clients/IObservableIssuesLabelsClient.cs diff --git a/Octokit.Reactive/Clients/IObservableBlobsClient.cs b/Octokit.Reactive/Clients/IObservableBlobsClient.cs new file mode 100644 index 00000000..81bae76d --- /dev/null +++ b/Octokit.Reactive/Clients/IObservableBlobsClient.cs @@ -0,0 +1,32 @@ +using System; + +namespace Octokit.Reactive +{ + public interface IObservableBlobsClient + { + /// + /// Gets a single Blob by SHA. + /// + /// + /// http://developer.github.com/v3/git/blobs/#get-a-blob + /// + /// The owner of the repository + /// The name of the repository + /// The SHA of the blob + /// The for the specified SHA. + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")] + IObservable Get(string owner, string name, string reference); + + /// + /// Creates a new Blob + /// + /// + /// http://developer.github.com/v3/git/blobs/#create-a-blob + /// + /// The owner of the repository + /// The name of the repository + /// The new Blob + /// The that was just created. + IObservable Create(string owner, string name, NewBlob newBlob); + } +} \ No newline at end of file diff --git a/Octokit.Reactive/Clients/IObservableIssuesLabelsClient.cs b/Octokit.Reactive/Clients/IObservableIssuesLabelsClient.cs new file mode 100644 index 00000000..8303e027 --- /dev/null +++ b/Octokit.Reactive/Clients/IObservableIssuesLabelsClient.cs @@ -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 + { + } +} diff --git a/Octokit.Reactive/Octokit.Reactive.csproj b/Octokit.Reactive/Octokit.Reactive.csproj index c1da821f..e6618d3a 100644 --- a/Octokit.Reactive/Octokit.Reactive.csproj +++ b/Octokit.Reactive/Octokit.Reactive.csproj @@ -74,6 +74,8 @@ + +