PublicMembers() публичный статический Метод

Returns the Uri that returns all of the public members of the organization
public static PublicMembers ( string org ) : Uri
org string Organization
Результат System.Uri
Пример #1
0
        public Task <IReadOnlyList <User> > GetAllPublic(string org, ApiOptions options)
        {
            Ensure.ArgumentNotNullOrEmptyString(org, nameof(org));
            Ensure.ArgumentNotNull(options, nameof(options));

            return(ApiConnection.GetAll <User>(ApiUrls.PublicMembers(org), options));
        }
        /// <summary>
        /// List all users who have publicized their membership of the organization.
        /// </summary>
        /// <remarks>http://developer.github.com/v3/orgs/members/#public-members-list</remarks>
        /// <param name="org">The login for the organization</param>
        /// <returns></returns>
        public Task <IReadOnlyList <User> > GetAllPublic(string org)
        {
            Ensure.ArgumentNotNullOrEmptyString(org, "org");

            return(ApiConnection.GetAll <User>(ApiUrls.PublicMembers(org)));
        }