IssuesForOwnedAndMember() public static method

Returns the Uri that returns all of the issues across owned and member repositories for the authenticated user:
public static IssuesForOwnedAndMember ( ) : Uri
return System.Uri
Exemplo n.º 1
0
        /// <summary>
        /// Gets all issues across owned and member repositories for the authenticated user.
        /// </summary>
        /// <remarks>
        /// http://developer.github.com/v3/issues/#list-issues
        /// </remarks>
        /// <param name="request">Used to filter and sort the list of issues returned</param>
        /// <param name="options">Options for changing the API response</param>
        public Task <IReadOnlyList <Issue> > GetAllForOwnedAndMemberRepositories(IssueRequest request, ApiOptions options)
        {
            Ensure.ArgumentNotNull(request, "request");
            Ensure.ArgumentNotNull(options, "options");

            return(ApiConnection.GetAll <Issue>(ApiUrls.IssuesForOwnedAndMember(), request.ToParametersDictionary(), AcceptHeaders.ReactionsPreview, options));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Gets all issues across owned and member repositories for the authenticated user.
        /// </summary>
        /// <remarks>
        /// http://developer.github.com/v3/issues/#list-issues
        /// </remarks>
        /// <param name="request">Used to filter and sort the list of issues returned</param>
        /// <returns></returns>
        public Task <IReadOnlyList <Issue> > GetAllForOwnedAndMemberRepositories(IssueRequest request)
        {
            Ensure.ArgumentNotNull(request, "request");

            return(ApiConnection.GetAll <Issue>(ApiUrls.IssuesForOwnedAndMember(),
                                                request.ToParametersDictionary()));
        }