Notification() public static méthode

Returns the Uri for the specified notification.
public static Notification ( int id ) : Uri
id int The Id of the notification.
Résultat System.Uri
 /// <summary>
 /// Marks a single notification as read.
 /// </summary>
 /// <param name="id">The id of the notification.</param>
 /// <remarks>http://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read</remarks>
 public Task MarkAsRead(int id)
 {
     return(ApiConnection.Patch(ApiUrls.Notification(id)));
 }
 /// <summary>
 /// Retrives a single <see cref="Notification"/> by Id.
 /// </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>
 public Task <Notification> Get(int id)
 {
     return(ApiConnection.Get <Notification>(ApiUrls.Notification(id)));
 }