From 52b534a41ce0f3940ef91a1402349fee744d7ec5 Mon Sep 17 00:00:00 2001 From: "aedampir@gmail.com" Date: Tue, 28 Jun 2016 04:32:48 +0700 Subject: [PATCH] removed tags --- .../Clients/IObservableNotificationsClient.cs | 23 ------------------- .../Clients/ObservableNotificationsClient.cs | 23 ------------------- Octokit/Clients/INotificationsClient.cs | 23 ------------------- Octokit/Clients/NotificationsClient.cs | 23 ------------------- 4 files changed, 92 deletions(-) diff --git a/Octokit.Reactive/Clients/IObservableNotificationsClient.cs b/Octokit.Reactive/Clients/IObservableNotificationsClient.cs index 5304d565..3f917894 100644 --- a/Octokit.Reactive/Clients/IObservableNotificationsClient.cs +++ b/Octokit.Reactive/Clients/IObservableNotificationsClient.cs @@ -16,7 +16,6 @@ namespace Octokit.Reactive /// Retrieves all of the s for the current user. /// /// Thrown if the client is not authenticated. - /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetAllForCurrent(); @@ -25,7 +24,6 @@ namespace Octokit.Reactive /// /// Options for changing the API response /// Thrown if the client is not authenticated. - /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetAllForCurrent(ApiOptions options); @@ -35,7 +33,6 @@ namespace Octokit.Reactive /// The owner of the repository. /// The name of the repository. /// Thrown if the client is not authenticated. - /// IObservable GetAllForRepository(string owner, string name); /// @@ -43,7 +40,6 @@ namespace Octokit.Reactive /// /// The ID of the repository. /// Thrown if the client is not authenticated. - /// IObservable GetAllForRepository(int repositoryId); /// @@ -53,7 +49,6 @@ namespace Octokit.Reactive /// The name of the repository. /// Options for changing the API response /// Thrown if the client is not authenticated. - /// IObservable GetAllForRepository(string owner, string name, ApiOptions options); /// @@ -62,7 +57,6 @@ namespace Octokit.Reactive /// The ID of the repository. /// Options for changing the API response /// Thrown if the client is not authenticated. - /// IObservable GetAllForRepository(int repositoryId, ApiOptions options); /// @@ -70,7 +64,6 @@ namespace Octokit.Reactive /// /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetAllForCurrent(NotificationsRequest request); @@ -80,7 +73,6 @@ namespace Octokit.Reactive /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] IObservable GetAllForCurrent(NotificationsRequest request, ApiOptions options); @@ -91,7 +83,6 @@ namespace Octokit.Reactive /// The name of the repository. /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// IObservable GetAllForRepository(string owner, string name, NotificationsRequest request); /// @@ -100,7 +91,6 @@ namespace Octokit.Reactive /// The ID of the repository. /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// IObservable GetAllForRepository(int repositoryId, NotificationsRequest request); /// @@ -111,7 +101,6 @@ namespace Octokit.Reactive /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// IObservable GetAllForRepository(string owner, string name, NotificationsRequest request, ApiOptions options); /// @@ -121,14 +110,12 @@ namespace Octokit.Reactive /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// IObservable GetAllForRepository(int repositoryId, NotificationsRequest request, ApiOptions options); /// /// Marks all notifications as read. /// /// http://developer.github.com/v3/activity/notifications/#mark-as-read - /// IObservable MarkAsRead(); /// @@ -136,7 +123,6 @@ namespace Octokit.Reactive /// /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-as-read - /// IObservable MarkAsRead(MarkAsReadRequest markAsReadRequest); /// @@ -145,7 +131,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// IObservable MarkAsReadForRepository(string owner, string name); /// @@ -153,7 +138,6 @@ namespace Octokit.Reactive /// /// The ID of the repository /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// IObservable MarkAsReadForRepository(int repositoryId); /// @@ -163,7 +147,6 @@ namespace Octokit.Reactive /// The name of the repository /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// IObservable MarkAsReadForRepository(string owner, string name, MarkAsReadRequest markAsReadRequest); /// @@ -172,7 +155,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// IObservable MarkAsReadForRepository(int repositoryId, MarkAsReadRequest markAsReadRequest); /// @@ -180,7 +162,6 @@ namespace Octokit.Reactive /// /// The Id of the notification to retrieve. /// http://developer.github.com/v3/activity/notifications/#view-a-single-thread - /// [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")] IObservable Get(int id); @@ -189,7 +170,6 @@ namespace Octokit.Reactive /// /// The id of the notification. /// http://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read - /// IObservable MarkAsRead(int id); /// @@ -197,7 +177,6 @@ namespace Octokit.Reactive /// /// The Id of the thread to retrieve subscription status. /// http://developer.github.com/v3/activity/notifications/#get-a-thread-subscription - /// IObservable GetThreadSubscription(int id); /// @@ -206,7 +185,6 @@ namespace Octokit.Reactive /// The Id of the thread to update. /// The subscription parameters to set. /// http://developer.github.com/v3/activity/notifications/#set-a-thread-subscription - /// IObservable SetThreadSubscription(int id, NewThreadSubscription threadSubscription); /// @@ -214,7 +192,6 @@ namespace Octokit.Reactive /// /// The Id of the thread to delete subscription from. /// http://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription - /// IObservable DeleteThreadSubscription(int id); } } diff --git a/Octokit.Reactive/Clients/ObservableNotificationsClient.cs b/Octokit.Reactive/Clients/ObservableNotificationsClient.cs index e9e7e8d6..f3959dbb 100644 --- a/Octokit.Reactive/Clients/ObservableNotificationsClient.cs +++ b/Octokit.Reactive/Clients/ObservableNotificationsClient.cs @@ -28,7 +28,6 @@ namespace Octokit.Reactive /// Retrieves all of the s for the current user. /// /// Thrown if the client is not authenticated. - /// public IObservable GetAllForCurrent() { return GetAllForCurrent(ApiOptions.None); @@ -39,7 +38,6 @@ namespace Octokit.Reactive /// /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public IObservable GetAllForCurrent(ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -53,7 +51,6 @@ namespace Octokit.Reactive /// The owner of the repository. /// The name of the repository. /// Thrown if the client is not authenticated. - /// public IObservable GetAllForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -67,7 +64,6 @@ namespace Octokit.Reactive /// /// The ID of the repository. /// Thrown if the client is not authenticated. - /// public IObservable GetAllForRepository(int repositoryId) { return GetAllForRepository(repositoryId, ApiOptions.None); @@ -80,7 +76,6 @@ namespace Octokit.Reactive /// The name of the repository. /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public IObservable GetAllForRepository(string owner, string name, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -96,7 +91,6 @@ namespace Octokit.Reactive /// The ID of the repository. /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public IObservable GetAllForRepository(int repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -109,7 +103,6 @@ namespace Octokit.Reactive /// /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// public IObservable GetAllForCurrent(NotificationsRequest request) { Ensure.ArgumentNotNull(request, "request"); @@ -123,7 +116,6 @@ namespace Octokit.Reactive /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public IObservable GetAllForCurrent(NotificationsRequest request, ApiOptions options) { Ensure.ArgumentNotNull(request, "request"); @@ -139,7 +131,6 @@ namespace Octokit.Reactive /// The name of the repository. /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// public IObservable GetAllForRepository(string owner, string name, NotificationsRequest request) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -155,7 +146,6 @@ namespace Octokit.Reactive /// The ID of the repository. /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// public IObservable GetAllForRepository(int repositoryId, NotificationsRequest request) { Ensure.ArgumentNotNull(request, "request"); @@ -171,7 +161,6 @@ namespace Octokit.Reactive /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public IObservable GetAllForRepository(string owner, string name, NotificationsRequest request, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -189,7 +178,6 @@ namespace Octokit.Reactive /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public IObservable GetAllForRepository(int repositoryId, NotificationsRequest request, ApiOptions options) { Ensure.ArgumentNotNull(request, "request"); @@ -202,7 +190,6 @@ namespace Octokit.Reactive /// Marks all notifications as read. /// /// http://developer.github.com/v3/activity/notifications/#mark-as-read - /// public IObservable MarkAsRead() { return _notificationsClient.MarkAsRead().ToObservable(); @@ -213,7 +200,6 @@ namespace Octokit.Reactive /// /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-as-read - /// public IObservable MarkAsRead(MarkAsReadRequest markAsReadRequest) { Ensure.ArgumentNotNull(markAsReadRequest, "markAsReadRequest"); @@ -227,7 +213,6 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// public IObservable MarkAsReadForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -241,7 +226,6 @@ namespace Octokit.Reactive /// /// The ID of the repository /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// public IObservable MarkAsReadForRepository(int repositoryId) { return _notificationsClient.MarkAsReadForRepository(repositoryId).ToObservable(); @@ -254,7 +238,6 @@ namespace Octokit.Reactive /// The name of the repository /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// public IObservable MarkAsReadForRepository(string owner, string name, MarkAsReadRequest markAsReadRequest) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -270,7 +253,6 @@ namespace Octokit.Reactive /// The ID of the repository /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// public IObservable MarkAsReadForRepository(int repositoryId, MarkAsReadRequest markAsReadRequest) { Ensure.ArgumentNotNull(markAsReadRequest, "markAsReadRequest"); @@ -283,7 +265,6 @@ namespace Octokit.Reactive /// /// The Id of the notification to retrieve. /// http://developer.github.com/v3/activity/notifications/#view-a-single-thread - /// public IObservable Get(int id) { return _notificationsClient.Get(id).ToObservable(); @@ -294,7 +275,6 @@ namespace Octokit.Reactive /// /// The id of the notification. /// http://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read - /// public IObservable MarkAsRead(int id) { return _notificationsClient.MarkAsRead(id).ToObservable(); @@ -305,7 +285,6 @@ namespace Octokit.Reactive /// /// The Id of the thread to retrieve subscription status. /// http://developer.github.com/v3/activity/notifications/#get-a-thread-subscription - /// public IObservable GetThreadSubscription(int id) { return _notificationsClient.GetThreadSubscription(id).ToObservable(); @@ -317,7 +296,6 @@ namespace Octokit.Reactive /// The Id of the thread to update. /// The subscription parameters to set. /// http://developer.github.com/v3/activity/notifications/#set-a-thread-subscription - /// public IObservable SetThreadSubscription(int id, NewThreadSubscription threadSubscription) { Ensure.ArgumentNotNull(threadSubscription, "threadSubscription"); @@ -330,7 +308,6 @@ namespace Octokit.Reactive /// /// The Id of the thread to delete subscription from. /// http://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription - /// public IObservable DeleteThreadSubscription(int id) { return _notificationsClient.DeleteThreadSubscription(id).ToObservable(); diff --git a/Octokit/Clients/INotificationsClient.cs b/Octokit/Clients/INotificationsClient.cs index 8c90a9c2..f2fd231e 100644 --- a/Octokit/Clients/INotificationsClient.cs +++ b/Octokit/Clients/INotificationsClient.cs @@ -16,7 +16,6 @@ namespace Octokit /// Retrieves all of the s for the current user. /// /// Thrown if the client is not authenticated. - /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] Task> GetAllForCurrent(); @@ -25,7 +24,6 @@ namespace Octokit /// /// Options for changing the API response /// Thrown if the client is not authenticated. - /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] Task> GetAllForCurrent(ApiOptions options); @@ -34,7 +32,6 @@ namespace Octokit /// /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] Task> GetAllForCurrent(NotificationsRequest request); @@ -44,7 +41,6 @@ namespace Octokit /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")] Task> GetAllForCurrent(NotificationsRequest request, ApiOptions options); @@ -54,7 +50,6 @@ namespace Octokit /// The owner of the repository. /// The name of the repository. /// Thrown if the client is not authenticated. - /// Task> GetAllForRepository(string owner, string name); /// @@ -62,7 +57,6 @@ namespace Octokit /// /// The ID of the repository. /// Thrown if the client is not authenticated. - /// Task> GetAllForRepository(int repositoryId); /// @@ -72,7 +66,6 @@ namespace Octokit /// The name of the repository. /// Options for changing the API response /// Thrown if the client is not authenticated. - /// Task> GetAllForRepository(string owner, string name, ApiOptions options); /// @@ -81,7 +74,6 @@ namespace Octokit /// The ID of the repository. /// Options for changing the API response /// Thrown if the client is not authenticated. - /// Task> GetAllForRepository(int repositoryId, ApiOptions options); /// @@ -91,7 +83,6 @@ namespace Octokit /// The name of the repository. /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// Task> GetAllForRepository(string owner, string name, NotificationsRequest request); /// @@ -100,7 +91,6 @@ namespace Octokit /// The ID of the repository. /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// Task> GetAllForRepository(int repositoryId, NotificationsRequest request); /// @@ -111,7 +101,6 @@ namespace Octokit /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// Task> GetAllForRepository(string owner, string name, NotificationsRequest request, ApiOptions options); /// @@ -121,14 +110,12 @@ namespace Octokit /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// Task> GetAllForRepository(int repositoryId, NotificationsRequest request, ApiOptions options); /// /// Marks all notifications as read. /// /// http://developer.github.com/v3/activity/notifications/#mark-as-read - /// Task MarkAsRead(); /// @@ -136,7 +123,6 @@ namespace Octokit /// /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-as-read - /// Task MarkAsRead(MarkAsReadRequest markAsReadRequest); /// @@ -145,7 +131,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// Task MarkAsReadForRepository(string owner, string name); /// @@ -153,7 +138,6 @@ namespace Octokit /// /// The ID of the repository /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// Task MarkAsReadForRepository(int repositoryId); /// @@ -163,7 +147,6 @@ namespace Octokit /// The name of the repository /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// Task MarkAsReadForRepository(string owner, string name, MarkAsReadRequest markAsReadRequest); /// @@ -172,7 +155,6 @@ namespace Octokit /// The ID of the repository /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// Task MarkAsReadForRepository(int repositoryId, MarkAsReadRequest markAsReadRequest); /// @@ -180,7 +162,6 @@ namespace Octokit /// /// The Id of the notification to retrieve. /// http://developer.github.com/v3/activity/notifications/#view-a-single-thread - /// [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get")] Task Get(int id); @@ -189,7 +170,6 @@ namespace Octokit /// /// The id of the notification. /// http://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read - /// Task MarkAsRead(int id); /// @@ -197,7 +177,6 @@ namespace Octokit /// /// The Id of the thread to retrieve subscription status. /// http://developer.github.com/v3/activity/notifications/#get-a-thread-subscription - /// Task GetThreadSubscription(int id); /// @@ -206,7 +185,6 @@ namespace Octokit /// The Id of the thread to update. /// The subscription parameters to set. /// http://developer.github.com/v3/activity/notifications/#set-a-thread-subscription - /// Task SetThreadSubscription(int id, NewThreadSubscription threadSubscription); /// @@ -214,7 +192,6 @@ namespace Octokit /// /// The Id of the thread to delete subscription from. /// http://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription - /// Task DeleteThreadSubscription(int id); } } diff --git a/Octokit/Clients/NotificationsClient.cs b/Octokit/Clients/NotificationsClient.cs index 6ae0f564..4d0e1624 100644 --- a/Octokit/Clients/NotificationsClient.cs +++ b/Octokit/Clients/NotificationsClient.cs @@ -23,7 +23,6 @@ namespace Octokit /// Retrieves all of the s for the current user. /// /// Thrown if the client is not authenticated. - /// public Task> GetAllForCurrent() { return GetAllForCurrent(ApiOptions.None); @@ -34,7 +33,6 @@ namespace Octokit /// /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public Task> GetAllForCurrent(ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -47,7 +45,6 @@ namespace Octokit /// /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// public Task> GetAllForCurrent(NotificationsRequest request) { Ensure.ArgumentNotNull(request, "request"); @@ -61,7 +58,6 @@ namespace Octokit /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public Task> GetAllForCurrent(NotificationsRequest request, ApiOptions options) { Ensure.ArgumentNotNull(request, "request"); @@ -76,7 +72,6 @@ namespace Octokit /// The owner of the repository. /// The name of the repository. /// Thrown if the client is not authenticated. - /// public Task> GetAllForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -90,7 +85,6 @@ namespace Octokit /// /// The ID of the repository. /// Thrown if the client is not authenticated. - /// public Task> GetAllForRepository(int repositoryId) { return GetAllForRepository(repositoryId, ApiOptions.None); @@ -103,7 +97,6 @@ namespace Octokit /// The name of the repository. /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public Task> GetAllForRepository(string owner, string name, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -119,7 +112,6 @@ namespace Octokit /// The ID of the repository. /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public Task> GetAllForRepository(int repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); @@ -134,7 +126,6 @@ namespace Octokit /// The name of the repository. /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// public Task> GetAllForRepository(string owner, string name, NotificationsRequest request) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -150,7 +141,6 @@ namespace Octokit /// The ID of the repository. /// Specifies the parameters to filter notifications by /// Thrown if the client is not authenticated. - /// public Task> GetAllForRepository(int repositoryId, NotificationsRequest request) { Ensure.ArgumentNotNull(request, "request"); @@ -166,7 +156,6 @@ namespace Octokit /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public Task> GetAllForRepository(string owner, string name, NotificationsRequest request, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -184,7 +173,6 @@ namespace Octokit /// Specifies the parameters to filter notifications by /// Options for changing the API response /// Thrown if the client is not authenticated. - /// public Task> GetAllForRepository(int repositoryId, NotificationsRequest request, ApiOptions options) { Ensure.ArgumentNotNull(request, "request"); @@ -197,7 +185,6 @@ namespace Octokit /// Marks all notifications as read. /// /// http://developer.github.com/v3/activity/notifications/#mark-as-read - /// public Task MarkAsRead() { return ApiConnection.Put(ApiUrls.Notifications()); @@ -208,7 +195,6 @@ namespace Octokit /// /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-as-read - /// public Task MarkAsRead(MarkAsReadRequest markAsReadRequest) { Ensure.ArgumentNotNull(markAsReadRequest, "markAsReadRequest"); @@ -222,7 +208,6 @@ namespace Octokit /// The owner of the repository /// The name of the repository /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// public Task MarkAsReadForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -236,7 +221,6 @@ namespace Octokit /// /// The ID of the repository /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// public Task MarkAsReadForRepository(int repositoryId) { return ApiConnection.Put(ApiUrls.Notifications(repositoryId)); @@ -249,7 +233,6 @@ namespace Octokit /// The name of the repository /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// public Task MarkAsReadForRepository(string owner, string name, MarkAsReadRequest markAsReadRequest) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); @@ -265,7 +248,6 @@ namespace Octokit /// The ID of the repository /// The parameter which specifies which notifications to mark. /// http://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository - /// public Task MarkAsReadForRepository(int repositoryId, MarkAsReadRequest markAsReadRequest) { Ensure.ArgumentNotNull(markAsReadRequest, "markAsReadRequest"); @@ -278,7 +260,6 @@ namespace Octokit /// /// The Id of the notification to retrieve. /// http://developer.github.com/v3/activity/notifications/#view-a-single-thread - /// public Task Get(int id) { return ApiConnection.Get(ApiUrls.Notification(id)); @@ -289,7 +270,6 @@ namespace Octokit /// /// The id of the notification. /// http://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read - /// public Task MarkAsRead(int id) { return ApiConnection.Patch(ApiUrls.Notification(id)); @@ -300,7 +280,6 @@ namespace Octokit /// /// The Id of the thread to retrieve subscription status. /// http://developer.github.com/v3/activity/notifications/#get-a-thread-subscription - /// public Task GetThreadSubscription(int id) { return ApiConnection.Get(ApiUrls.NotificationSubscription(id)); @@ -312,7 +291,6 @@ namespace Octokit /// The Id of the thread to update. /// The subscription parameters to set. /// http://developer.github.com/v3/activity/notifications/#set-a-thread-subscription - /// public Task SetThreadSubscription(int id, NewThreadSubscription threadSubscription) { Ensure.ArgumentNotNull(threadSubscription, "threadSubscription"); @@ -325,7 +303,6 @@ namespace Octokit /// /// The Id of the thread to delete subscription from. /// http://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription - /// public Task DeleteThreadSubscription(int id) { return ApiConnection.Delete(ApiUrls.NotificationSubscription(id));