From 3b4acb2053031c57713ac4b9c45bc509e127ee48 Mon Sep 17 00:00:00 2001 From: Kristian Hellang Date: Sun, 1 Dec 2013 21:41:09 +0100 Subject: [PATCH] Added missing observable clients to git database client --- Octokit.Reactive/Clients/IObservableGitDatabaseClient.cs | 2 ++ Octokit.Reactive/Clients/ObservableGitDatabaseClient.cs | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Octokit.Reactive/Clients/IObservableGitDatabaseClient.cs b/Octokit.Reactive/Clients/IObservableGitDatabaseClient.cs index 14b8a369d9..9f38c34518 100644 --- a/Octokit.Reactive/Clients/IObservableGitDatabaseClient.cs +++ b/Octokit.Reactive/Clients/IObservableGitDatabaseClient.cs @@ -5,7 +5,9 @@ /// public interface IObservableGitDatabaseClient { + IObservableBlobClient Blob { get; set; } IObservableTagsClient Tag { get; set; } + IObservableTreesClient Tree { get; set; } IObservableCommitsClient Commit { get; set; } IObservableReferencesClient Reference { get; set; } } diff --git a/Octokit.Reactive/Clients/ObservableGitDatabaseClient.cs b/Octokit.Reactive/Clients/ObservableGitDatabaseClient.cs index 2ea2630296..c3b338ca5c 100644 --- a/Octokit.Reactive/Clients/ObservableGitDatabaseClient.cs +++ b/Octokit.Reactive/Clients/ObservableGitDatabaseClient.cs @@ -4,12 +4,16 @@ public class ObservableGitDatabaseClient : IObservableGitDatabaseClient { public ObservableGitDatabaseClient(IGitHubClient client) { + Blob = new ObservableBlobClient(client); Tag = new ObservableTagsClient(client); + Tree = new ObservableTreesClient(client); Commit = new ObservableCommitsClient(client); Reference = new ObservableReferencesClient(client); } + public IObservableBlobClient Blob { get; set; } public IObservableTagsClient Tag { get; set; } + public IObservableTreesClient Tree { get; set; } public IObservableCommitsClient Commit { get; set; } public IObservableReferencesClient Reference { get; set; } }