public static IssuesEvent ( long repositoryId, int id ) : |
||
repositoryId | long | The Id of the repository |
id | int | The event id |
리턴 |
/// <summary> /// Gets a single event /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#get-a-single-event /// </remarks> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <param name="number">The event id</param> /// <returns></returns> public Task <IssueEvent> Get(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); return(ApiConnection.Get <IssueEvent>(ApiUrls.IssuesEvent(owner, name, number))); }
/// <summary> /// Gets a single event /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#get-a-single-event /// </remarks> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <param name="eventId">The event id</param> public Task <IssueEvent> Get(string owner, string name, long eventId) { Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner)); Ensure.ArgumentNotNullOrEmptyString(name, nameof(name)); return(ApiConnection.Get <IssueEvent>(ApiUrls.IssuesEvent(owner, name, eventId))); }
/// <summary> /// Gets a single event /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#get-a-single-event /// </remarks> /// <param name="repositoryId">The Id of the repository</param> /// <param name="number">The event id</param> public Task <IssueEvent> Get(long repositoryId, int number) { return(ApiConnection.Get <IssueEvent>(ApiUrls.IssuesEvent(repositoryId, number))); }
/// <summary> /// Gets a single event /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#get-a-single-event /// </remarks> /// <param name="repositoryId">The Id of the repository</param> /// <param name="eventId">The event id</param> public Task <IssueEvent> Get(long repositoryId, long eventId) { return(ApiConnection.Get <IssueEvent>(ApiUrls.IssuesEvent(repositoryId, eventId), null, AcceptHeaders.IssueEventsApiPreview)); }
/// <summary> /// Gets a single event /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#get-a-single-event /// </remarks> /// <param name="repositoryId">The Id of the repository</param> /// <param name="eventId">The event id</param> public Task <IssueEvent> Get(long repositoryId, long eventId) { return(ApiConnection.Get <IssueEvent>(ApiUrls.IssuesEvent(repositoryId, eventId))); }