From 35902dea51748115e400c06c0e8cb7d023dbd1c4 Mon Sep 17 00:00:00 2001 From: Haacked Date: Tue, 17 Mar 2015 18:33:20 -0700 Subject: [PATCH] Reformat doc and let R# sort it out --- Octokit/Clients/MiscellaneousClient.cs | 36 +++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Octokit/Clients/MiscellaneousClient.cs b/Octokit/Clients/MiscellaneousClient.cs index 338a9e31..185f38d5 100644 --- a/Octokit/Clients/MiscellaneousClient.cs +++ b/Octokit/Clients/MiscellaneousClient.cs @@ -1,25 +1,25 @@ using System; using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; #if NET_45 using System.Collections.ObjectModel; #endif -using System.Linq; -using System.Threading.Tasks; namespace Octokit { /// - /// A client for GitHub's miscellaneous APIs. + /// A client for GitHub's miscellaneous APIs. /// /// - /// See the Miscellaneous API documentation for more details. + /// See the Miscellaneous API documentation for more details. /// public class MiscellaneousClient : IMiscellaneousClient { readonly IConnection _connection; /// - /// Initializes a new GitHub miscellaneous API client. + /// Initializes a new GitHub miscellaneous API client. /// /// An API connection public MiscellaneousClient(IConnection connection) @@ -30,21 +30,21 @@ namespace Octokit } /// - /// Gets all the emojis available to use on GitHub. + /// Gets all the emojis available to use on GitHub. /// /// Thrown when a general API error occurs. - /// An of emoji and their URI. + /// An of emoji and their URI. public async Task> GetEmojis() { var endpoint = new Uri("emojis", UriKind.Relative); var response = await _connection.Get>(endpoint, null, null) - .ConfigureAwait(false); + .ConfigureAwait(false); return new ReadOnlyCollection( response.Body.Select(kvp => new Emoji(kvp.Key, new Uri(kvp.Value))).ToArray()); } /// - /// Gets the rendered Markdown for the specified plain-text Markdown document. + /// Gets the rendered Markdown for the specified plain-text Markdown document. /// /// A plain-text Markdown document /// Thrown when a general API error occurs. @@ -53,12 +53,12 @@ namespace Octokit { var endpoint = new Uri("markdown/raw", UriKind.Relative); var response = await _connection.Post(endpoint, markdown, "text/html", "text/plain") - .ConfigureAwait(false); + .ConfigureAwait(false); return response.Body; } /// - /// List all templates available to pass as an option when creating a repository. + /// List all templates available to pass as an option when creating a repository. /// /// A list of template names public async Task> GetGitIgnoreTemplates() @@ -66,12 +66,12 @@ namespace Octokit var endpoint = new Uri("gitignore/templates", UriKind.Relative); var response = await _connection.Get(endpoint, null, null) - .ConfigureAwait(false); + .ConfigureAwait(false); return new ReadOnlyCollection(response.Body); } /// - /// Retrieves the source for a single GitIgnore template + /// Retrieves the source for a single GitIgnore template /// /// /// A template and its source @@ -87,8 +87,8 @@ namespace Octokit } /// - /// Returns a list of the licenses shown in the license picker on GitHub.com. This is not a comprehensive - /// list of all possible OSS licenses. + /// Returns a list of the licenses shown in the license picker on GitHub.com. This is not a comprehensive + /// list of all possible OSS licenses. /// /// This is a PREVIEW API! Use it at your own risk. /// A list of licenses available on the site @@ -98,12 +98,12 @@ namespace Octokit var endpoint = new Uri("licenses", UriKind.Relative); var response = await _connection.Get(endpoint, null, previewAcceptsHeader) - .ConfigureAwait(false); + .ConfigureAwait(false); return new ReadOnlyCollection(response.Body); } /// - /// Retrieves a license based on the licence key such as "mit" + /// Retrieves a license based on the licence key such as "mit" /// /// /// A that includes the license key, text, and attributes of the license. @@ -113,7 +113,7 @@ namespace Octokit var endpoint = new Uri("licenses/" + Uri.EscapeUriString(key), UriKind.Relative); var response = await _connection.Get(endpoint, null, previewAcceptsHeader) - .ConfigureAwait(false); + .ConfigureAwait(false); return response.Body; } }