public BuildTask(BuildTaskManager manager) { Manager = manager; _importers = new Dictionary <string, ImporterInstance>(); _processors = new Dictionary <string, ProcessorInstance>(); Results = new TaskResults(); }
// Creates an initial build pipeline for the given project and settings public BuildEngine(ContentProject project, BuildLogger logger, uint threads) { Project = project ?? throw new ArgumentNullException(nameof(project)); Logger = logger ?? throw new ArgumentNullException(nameof(logger)); Logger.Engine = this; StageCache = new StageCache(this); _manager = new BuildTaskManager(this, threads); }