using System; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using Octokit.Reactive.Internal; namespace Octokit.Reactive { /// /// A client for GitHub's Issue Labels API. /// /// /// See the Issue Labels API documentation for more information. /// public class ObservableIssuesLabelsClient : IObservableIssuesLabelsClient { readonly IIssuesLabelsClient _client; readonly IConnection _connection; public ObservableIssuesLabelsClient(IGitHubClient client) { Ensure.ArgumentNotNull(client, nameof(client)); _connection = client.Connection; _client = client.Issue.Labels; } /// /// Gets all labels for the issue. /// /// /// See the API documentation for more information. /// /// The owner of the repository /// The name of the repository /// The issue number public IObservable