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; }
public ScrapingQueryBuilder(IPluginCollection <IScraper> scrapers, IPluginCollection <ICuller> cullers, IScrapeEngine <IGameRecord> scrapeEngine) { this.Scrapers = scrapers; this.Cullers = cullers; this.ScrapeEngine = scrapeEngine; }
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); }
public EmulationQueryBuilder(IPluginCollection <IEmulator> emulators, IStoneProvider stone, IGameLibrary library, ISaveLocationProvider saveLocationProvider, InputQueryBuilder inputQueryBuilder, ControllerLayoutQueryBuilder controllerLayoutQueryBuilder) { this.Emulators = emulators; this.Stone = stone; this.SaveLocationProvider = saveLocationProvider; this.InputQueryApi = inputQueryBuilder; this.ControllerQueryApi = controllerLayoutQueryBuilder; this.GameLibrary = library; }
public IPluginCollection GetPlugins() { return(this.plugins ?? (this.plugins = new PluginCollection(this.ParentContext.PluginResolver))); }
public QModFactory(IPluginCollection pluginCollection = null, IManifestValidator validator = null) { this.Validator = validator ?? new ManifestValidator(); this.PluginCollection = pluginCollection ?? PluginCollection; }
public ContainerSetup(List <InstanceRecord> instanceRecords, IPluginCollection plugins, List <IGeneratedCodeListener> generatorListeners) { m_instanceRecords = instanceRecords; m_plugins = plugins; m_generatorListeners = generatorListeners; }
public Container(IContainer parent) { m_parent = parent; m_plugins = m_parent == null ? new PluginCollection() : new PluginCollection(parent.Plugins); }