modified XML docs

This commit is contained in:
aedampir@gmail.com
2016-06-15 16:41:13 +07:00
parent da6ad0371a
commit b66aad0a83
2 changed files with 8 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ namespace Octokit.Reactive
/// <param name="name">The name of the repository</param> /// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param> /// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create </param> /// <param name="reaction">The reaction to create </param>
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns> /// <returns>An <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns>
IObservable<Reaction> Create(string owner, string name, int number, NewReaction reaction); IObservable<Reaction> Create(string owner, string name, int number, NewReaction reaction);
/// <summary> /// <summary>
@@ -28,7 +28,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The ID of the repository</param> /// <param name="repositoryId">The ID of the repository</param>
/// <param name="number">The comment id</param> /// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create </param> /// <param name="reaction">The reaction to create </param>
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns> /// <returns>An <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns>
IObservable<Reaction> Create(int repositoryId, int number, NewReaction reaction); IObservable<Reaction> Create(int repositoryId, int number, NewReaction reaction);
/// <summary> /// <summary>
@@ -38,7 +38,7 @@ namespace Octokit.Reactive
/// <param name="owner">The owner of the repository</param> /// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param> /// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param> /// <param name="number">The comment id</param>
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns> /// <returns>An <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns>
IObservable<Reaction> GetAll(string owner, string name, int number); IObservable<Reaction> GetAll(string owner, string name, int number);
/// <summary> /// <summary>
@@ -47,7 +47,7 @@ namespace Octokit.Reactive
/// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment</remarks> /// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment</remarks>
/// <param name="repositoryId">The owner of the repository</param> /// <param name="repositoryId">The owner of the repository</param>
/// <param name="number">The comment id</param> /// <param name="number">The comment id</param>
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns> /// <returns>An <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns>
IObservable<Reaction> GetAll(int repositoryId, int number); IObservable<Reaction> GetAll(int repositoryId, int number);
} }
} }

View File

@@ -31,7 +31,7 @@ namespace Octokit.Reactive
/// <param name="name">The name of the repository</param> /// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param> /// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param> /// <param name="reaction">The reaction to create</param>
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns> /// <returns>An <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns>
public IObservable<Reaction> Create(string owner, string name, int number, NewReaction reaction) public IObservable<Reaction> Create(string owner, string name, int number, NewReaction reaction)
{ {
Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -48,7 +48,7 @@ namespace Octokit.Reactive
/// <param name="repositoryId">The ID of the repository</param> /// <param name="repositoryId">The ID of the repository</param>
/// <param name="number">The comment id</param> /// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create </param> /// <param name="reaction">The reaction to create </param>
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns> /// <returns>An <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/> representing created reaction for specified comment id.</returns>
public IObservable<Reaction> Create(int repositoryId, int number, NewReaction reaction) public IObservable<Reaction> Create(int repositoryId, int number, NewReaction reaction)
{ {
Ensure.ArgumentNotNull(reaction, "reaction"); Ensure.ArgumentNotNull(reaction, "reaction");
@@ -63,7 +63,7 @@ namespace Octokit.Reactive
/// <param name="owner">The owner of the repository</param> /// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param> /// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param> /// <param name="number">The comment id</param>
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns> /// <returns>An <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns>
public IObservable<Reaction> GetAll(string owner, string name, int number) public IObservable<Reaction> GetAll(string owner, string name, int number)
{ {
Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
@@ -78,7 +78,7 @@ namespace Octokit.Reactive
/// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment</remarks> /// <remarks>https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment</remarks>
/// <param name="repositoryId">The owner of the repository</param> /// <param name="repositoryId">The owner of the repository</param>
/// <param name="number">The comment id</param> /// <param name="number">The comment id</param>
/// <returns>A <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns> /// <returns>An <see cref="IObservable{Reaction}"/> of <see cref="Reaction"/>s representing all reactions for specified comment id.</returns>
public IObservable<Reaction> GetAll(int repositoryId, int number) public IObservable<Reaction> GetAll(int repositoryId, int number)
{ {
return _connection.GetAndFlattenAllPages<Reaction>(ApiUrls.CommitCommentReactions(repositoryId, number), null, AcceptHeaders.ReactionsPreview); return _connection.GetAndFlattenAllPages<Reaction>(ApiUrls.CommitCommentReactions(repositoryId, number), null, AcceptHeaders.ReactionsPreview);