mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 20:45:51 +00:00
removed <returns> tags
This commit is contained in:
@@ -28,7 +28,6 @@ namespace Octokit.Reactive
|
||||
/// Retrieves all of the <see cref="Notification"/>s for the current user.
|
||||
/// </summary>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForCurrent()
|
||||
{
|
||||
return GetAllForCurrent(ApiOptions.None);
|
||||
@@ -39,7 +38,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForCurrent(ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
@@ -53,7 +51,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository.</param>
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForRepository(string owner, string name)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -67,7 +64,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="repositoryId">The ID of the repository.</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForRepository(int repositoryId)
|
||||
{
|
||||
return GetAllForRepository(repositoryId, ApiOptions.None);
|
||||
@@ -80,7 +76,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForRepository(string owner, string name, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -96,7 +91,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository.</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForRepository(int repositoryId, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(options, "options");
|
||||
@@ -109,7 +103,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="request">Specifies the parameters to filter notifications by</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForCurrent(NotificationsRequest request)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
@@ -123,7 +116,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="request">Specifies the parameters to filter notifications by</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForCurrent(NotificationsRequest request, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
@@ -139,7 +131,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository.</param>
|
||||
/// <param name="request">Specifies the parameters to filter notifications by</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForRepository(string owner, string name, NotificationsRequest request)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -155,7 +146,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository.</param>
|
||||
/// <param name="request">Specifies the parameters to filter notifications by</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForRepository(int repositoryId, NotificationsRequest request)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
@@ -171,7 +161,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="request">Specifies the parameters to filter notifications by</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForRepository(string owner, string name, NotificationsRequest request, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -189,7 +178,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="request">Specifies the parameters to filter notifications by</param>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> GetAllForRepository(int repositoryId, NotificationsRequest request, ApiOptions options)
|
||||
{
|
||||
Ensure.ArgumentNotNull(request, "request");
|
||||
@@ -202,7 +190,6 @@ namespace Octokit.Reactive
|
||||
/// Marks all notifications as read.
|
||||
/// </summary>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#mark-as-read</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> MarkAsRead()
|
||||
{
|
||||
return _notificationsClient.MarkAsRead().ToObservable();
|
||||
@@ -213,7 +200,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="markAsReadRequest">The <see cref="MarkAsReadRequest"/> parameter which specifies which notifications to mark.</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#mark-as-read</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> MarkAsRead(MarkAsReadRequest markAsReadRequest)
|
||||
{
|
||||
Ensure.ArgumentNotNull(markAsReadRequest, "markAsReadRequest");
|
||||
@@ -227,7 +213,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="owner">The owner of the repository</param>
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> MarkAsReadForRepository(string owner, string name)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -241,7 +226,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> MarkAsReadForRepository(int repositoryId)
|
||||
{
|
||||
return _notificationsClient.MarkAsReadForRepository(repositoryId).ToObservable();
|
||||
@@ -254,7 +238,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="name">The name of the repository</param>
|
||||
/// <param name="markAsReadRequest">The <see cref="MarkAsReadRequest"/> parameter which specifies which notifications to mark.</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> MarkAsReadForRepository(string owner, string name, MarkAsReadRequest markAsReadRequest)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
|
||||
@@ -270,7 +253,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="repositoryId">The ID of the repository</param>
|
||||
/// <param name="markAsReadRequest">The <see cref="MarkAsReadRequest"/> parameter which specifies which notifications to mark.</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> MarkAsReadForRepository(int repositoryId, MarkAsReadRequest markAsReadRequest)
|
||||
{
|
||||
Ensure.ArgumentNotNull(markAsReadRequest, "markAsReadRequest");
|
||||
@@ -283,7 +265,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="id">The Id of the notification to retrieve.</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#view-a-single-thread</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<Notification> Get(int id)
|
||||
{
|
||||
return _notificationsClient.Get(id).ToObservable();
|
||||
@@ -294,7 +275,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="id">The id of the notification.</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> MarkAsRead(int id)
|
||||
{
|
||||
return _notificationsClient.MarkAsRead(id).ToObservable();
|
||||
@@ -305,7 +285,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="id">The Id of the thread to retrieve subscription status.</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#get-a-thread-subscription</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<ThreadSubscription> GetThreadSubscription(int id)
|
||||
{
|
||||
return _notificationsClient.GetThreadSubscription(id).ToObservable();
|
||||
@@ -317,7 +296,6 @@ namespace Octokit.Reactive
|
||||
/// <param name="id">The Id of the thread to update.</param>
|
||||
/// <param name="threadSubscription">The subscription parameters to set.</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#set-a-thread-subscription</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<ThreadSubscription> SetThreadSubscription(int id, NewThreadSubscription threadSubscription)
|
||||
{
|
||||
Ensure.ArgumentNotNull(threadSubscription, "threadSubscription");
|
||||
@@ -330,7 +308,6 @@ namespace Octokit.Reactive
|
||||
/// </summary>
|
||||
/// <param name="id">The Id of the thread to delete subscription from.</param>
|
||||
/// <remarks>http://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription</remarks>
|
||||
/// <returns></returns>
|
||||
public IObservable<Unit> DeleteThreadSubscription(int id)
|
||||
{
|
||||
return _notificationsClient.DeleteThreadSubscription(id).ToObservable();
|
||||
|
||||
Reference in New Issue
Block a user