示例#1
0
 public static Task <string> GetTokenForRepository(this IGitHubTokenProvider provider, string organization, string repository)
 {
     return(provider.GetTokenForRepository(GitHubHelper.GetRepositoryUrl(organization, repository)));
 }
 public static Task <long> GetInstallationId(this IInstallationLookup lookup, string organization, string repository)
 {
     return(lookup.GetInstallationId(GitHubHelper.GetRepositoryUrl(organization, repository)));
 }