コード例 #1
0
        public static PackageCompatabilityInvestigator Create(INugetResultCache nugetResultCache)
        {
            var repository = new PackageRepositoryWrapper();

            return(new PackageCompatabilityInvestigator(
                       new NugetPackageInfoRetriever(
                           repository,
                           nugetResultCache
                           )
                       ));
        }
コード例 #2
0
 public GetResultController(IStatisticsRepository statisticsRepository, GitHubScanner gitHubScanner, INugetResultCache nugetResultCache)
 {
     _statisticsRepository = statisticsRepository;
     _gitHubScanner        = gitHubScanner;
     _nugetResultCache     = nugetResultCache;
 }
コード例 #3
0
 public NugetPackageInfoRetriever(IPackageRepositoryWrapper repository, INugetResultCache nugetResultCache)
 {
     _repository       = repository;
     _nugetResultCache = nugetResultCache;
 }