예제 #1
0
 public GameQueryBuilder(IPluginCollection <IGameInstaller> installers,
                         IStoneProvider stone, IAsyncJobQueue <TaskResult <IFile> > installQueue, IGameLibrary gameLibrary)
 {
     this.Installers   = installers;
     this.Stone        = stone;
     this.InstallQueue = installQueue;
     this.GameLibrary  = gameLibrary;
 }
예제 #2
0
 public ScrapingQueryBuilder(IGameLibrary gameLibrary,
                             IPluginCollection <IScraper> scrapers,
                             IPluginCollection <ICuller> cullers,
                             IPluginCollection <IGameMetadataTraverser> gameTraversers,
                             IPluginCollection <IFileInstallationTraverser> fileTraversers)
 {
     this.GameLibrary               = gameLibrary;
     this.Scrapers                  = scrapers;
     this.Cullers                   = cullers;
     this.GameTraversers            = gameTraversers;
     this.FileTraversers            = fileTraversers;
     this.GameScrapeContextJobQueue = new AsyncJobQueue <IEnumerable <ISeed> >(false);
 }