コード例 #1
0
        public static FetchedRepo GetInstance(WritableRepositoryInformation repo, RepoUtils repoUtils, ILogger <FetchedRepo> logger)
        {
            var fetchedRepo = new FetchedRepo(repo, repoUtils, logger);

            fetchedRepo.Init();
            return(fetchedRepo);
        }
コード例 #2
0
 public IFetchedRepo FetchRepo(WritableRepositoryInformation repo)
 {
     return(FetchedRepo.GetInstance(repo, _repoUtils, _loggerFactory.CreateLogger <FetchedRepo>()));
 }