mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 12:42:32 +00:00
Rename to Octokit to be consistent with other API libs
GitHub is naming all of the libraries Octokit for their respective platforms
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
public interface IObservableOrganizationsClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns the specified organization.
|
||||
/// </summary>
|
||||
/// <param name="org">The login of the specified organization,</param>
|
||||
/// <returns></returns>
|
||||
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get"
|
||||
, Justification = "It's fine. Trust us.")]
|
||||
IObservable<Organization> Get(string org);
|
||||
|
||||
/// <summary>
|
||||
/// Returns all the organizations for the current user.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate",
|
||||
Justification = "Method makes a network request")]
|
||||
IObservable<IReadOnlyCollection<Organization>> GetAllForCurrent();
|
||||
|
||||
/// <summary>
|
||||
/// Returns all the organizations for the specified user
|
||||
/// </summary>
|
||||
/// <param name="user"></param>
|
||||
/// <returns></returns>
|
||||
IObservable<IReadOnlyCollection<Organization>> GetAll(string user);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user