public static FetchedRepo GetInstance(WritableRepositoryInformation repo, RepoUtils repoUtils, ILogger <FetchedRepo> logger) { var fetchedRepo = new FetchedRepo(repo, repoUtils, logger); fetchedRepo.Init(); return(fetchedRepo); }
public IFetchedRepo FetchRepo(WritableRepositoryInformation repo) { return(FetchedRepo.GetInstance(repo, _repoUtils, _loggerFactory.CreateLogger <FetchedRepo>())); }