/// <summary> /// Marks the notifications for a given repository as read. /// </summary> /// <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"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); return(_notificationsClient.MarkAsReadForRepository(owner, name).ToObservable()); }
/// <summary> /// Marks the notifications for a given repository as read. /// </summary> /// <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) { return(_notificationsClient.MarkAsReadForRepository(owner, name).ToObservable()); }