Exemplo n.º 1
0
        public BuildTask(BuildTaskManager manager)
        {
            Manager = manager;

            _importers  = new Dictionary <string, ImporterInstance>();
            _processors = new Dictionary <string, ProcessorInstance>();

            Results = new TaskResults();
        }
Exemplo n.º 2
0
        // 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);
        }