Files
octokit.net/Octokit.Reactive/Clients/IObservableRepositoryContentsClient.cs
2015-01-02 01:08:25 -08:00

23 lines
818 B
C#

using System;
namespace Octokit.Reactive
{
public interface IObservableRepositoryContentsClient
{
/// <summary>
/// Returns the HTML rendered README.
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <returns></returns>
IObservable<Readme> GetReadme(string owner, string name);
/// <summary>
/// Returns just the HTML portion of the README without the surrounding HTML document.
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <returns></returns>
IObservable<string> GetReadmeHtml(string owner, string name);
}
}