using System; using System.Diagnostics.CodeAnalysis; namespace Octokit.Reactive { public interface IObservableMiscellaneousClient { /// /// Gets all the emojis available to use on GitHub. /// /// Thrown when a general API error occurs. /// An of emoji and their URI. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "Makes a network request")] IObservable GetEmojis(); /// /// Gets the rendered Markdown for the specified plain-text Markdown document. /// /// A plain-text Markdown document /// Thrown when a general API error occurs. /// The rendered Markdown. IObservable RenderRawMarkdown(string markdown); /// /// List all templates available to pass as an option when creating a repository. /// /// An observable list of gitignore template names. [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetGitIgnoreTemplates(); /// /// Retrieves the source for a single GitIgnore template /// /// Returns the template source for the given template IObservable GetGitIgnoreTemplate(string templateName); } }