public static IssuesEvents ( long repositoryId ) : |
||
repositoryId | long | The Id of the repository |
Результат |
/// <summary> /// Gets all events for the repository. /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#list-events-for-a-repository /// </remarks> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <returns></returns> public Task <IReadOnlyList <IssueEvent> > GetAllForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); return(ApiConnection.GetAll <IssueEvent>(ApiUrls.IssuesEvents(owner, name))); }
/// <summary> /// Gets all events for the issue. /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#list-events-for-an-issue /// </remarks> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <param name="number">The issue number</param> /// <returns></returns> public Task <IReadOnlyList <EventInfo> > GetAllForIssue(string owner, string name, int number) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); return(ApiConnection.GetAll <EventInfo>(ApiUrls.IssuesEvents(owner, name, number))); }
/// <summary> /// Gets all the event issues for a given repository /// </summary> /// <remarks> /// http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository /// </remarks> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <param name="options">Options for changing the API response</param> public Task <IReadOnlyList <Activity> > GetAllIssuesForRepository(string owner, string name, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); Ensure.ArgumentNotNull(options, "options"); return(ApiConnection.GetAll <Activity>(ApiUrls.IssuesEvents(owner, name), options)); }
public Task <IReadOnlyList <IssueEvent> > GetAllIssuesForRepository(string owner, string name, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner)); Ensure.ArgumentNotNullOrEmptyString(name, nameof(name)); Ensure.ArgumentNotNull(options, nameof(options)); return(ApiConnection.GetAll <IssueEvent>(ApiUrls.IssuesEvents(owner, name), options)); }
/// <summary> /// Gets all events for the issue. /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#list-events-for-an-issue /// </remarks> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <param name="number">The issue number</param> /// <param name="options">Options for changing the API response</param> public Task <IReadOnlyList <EventInfo> > GetAllForIssue(string owner, string name, int number, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner)); Ensure.ArgumentNotNullOrEmptyString(name, nameof(name)); Ensure.ArgumentNotNull(options, nameof(options)); return(ApiConnection.GetAll <EventInfo>(ApiUrls.IssuesEvents(owner, name, number), options)); }
/// <summary> /// Gets all events for the issue. /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#list-events-for-an-issue /// </remarks> /// <param name="repositoryId">The Id of the repository</param> /// <param name="number">The issue number</param> /// <param name="options">Options for changing the API response</param> public Task <IReadOnlyList <IssueEvent> > GetAllForIssue(long repositoryId, int number, ApiOptions options) { Ensure.ArgumentNotNull(options, nameof(options)); return(ApiConnection.GetAll <IssueEvent>(ApiUrls.IssuesEvents(repositoryId, number), null, AcceptHeaders.IssueEventsApiPreview, options)); }
/// <summary> /// Gets all events for the issue. /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#list-events-for-an-issue /// </remarks> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <param name="number">The issue number</param> /// <param name="options">Options for changing the API response</param> public Task <IReadOnlyList <IssueEvent> > GetAllForIssue(string owner, string name, int number, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner)); Ensure.ArgumentNotNullOrEmptyString(name, nameof(name)); Ensure.ArgumentNotNull(options, nameof(options)); return(ApiConnection.GetAll <IssueEvent>(ApiUrls.IssuesEvents(owner, name, number), null, AcceptHeaders.IssueEventsApiPreview, options)); }
/// <summary> /// Gets all the issue events for a given repository /// </summary> /// <remarks> /// http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository /// </remarks> /// <param name="repositoryId">The Id of the repository</param> /// <param name="options">Options for changing the API response</param> public Task <IReadOnlyList <Activity> > GetAllIssuesForRepository(long repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); return(ApiConnection.GetAll <Activity>(ApiUrls.IssuesEvents(repositoryId), options)); }
/// <summary> /// Gets all events for the issue. /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#list-events-for-an-issue /// </remarks> /// <param name="repositoryId">The Id of the repository</param> /// <param name="number">The issue number</param> /// <param name="options">Options for changing the API response</param> public Task <IReadOnlyList <EventInfo> > GetAllForIssue(long repositoryId, int number, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); return(ApiConnection.GetAll <EventInfo>(ApiUrls.IssuesEvents(repositoryId, number), options)); }
/// <summary> /// Gets all events for the repository. /// </summary> /// <remarks> /// http://developer.github.com/v3/issues/events/#list-events-for-a-repository /// </remarks> /// <param name="repositoryId">The Id of the repository</param> /// <param name="options">Options for changing the API response</param> public Task <IReadOnlyList <IssueEvent> > GetAllForRepository(int repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); return(ApiConnection.GetAll <IssueEvent>(ApiUrls.IssuesEvents(repositoryId), options)); }