コード例 #1
0
 public GitHubUpdateRepository(GitHubDownloadType downloadType, GitHubUpdateInfo.Factory gitHubUpdateInfoFactory, string name, string repository) :
     base(UpdateRepositoryType.GitHub, name, repository, GitHubRepositoryUrl.Build(repository))
 {
     DownloadType             = downloadType;
     _repoReleasesUrl         = $"{GitHubApiUrl}/{repository}/releases";
     _gitHubUpdateInfoFactory = gitHubUpdateInfoFactory;
 }