public static RepositoryPage ( long repositoryId ) : Uri | ||
repositoryId | long | The Id of the repository |
Результат | Uri |
/// <summary> /// Gets the page metadata for a given repository /// </summary> /// <param name="owner">The owner of the repository</param> /// <param name="name">The name of the repository</param> /// <remarks> /// See the <a href="https://developer.github.com/v3/repos/pages/#get-information-about-a-pages-site">API documentation</a> for more information. /// </remarks> public Task <Page> Get(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); return(ApiConnection.Get <Page>(ApiUrls.RepositoryPage(owner, name))); }
/// <summary> /// Gets the page metadata for a given repository /// </summary> /// <param name="repositoryId">The Id of the repository</param> /// <remarks> /// See the <a href="https://developer.github.com/v3/repos/pages/#get-information-about-a-pages-site">API documentation</a> for more information. /// </remarks> public Task <Page> Get(int repositoryId) { return(ApiConnection.Get <Page>(ApiUrls.RepositoryPage(repositoryId))); }