Esempio n. 1
0
 public override IVerbWorker getWorker(WorkingDirectory workingDirectory)
 {
     IEnumerable<IIncludePathContext> contexts = this.parents.Select(parent =>
         ((ContextContents)BuildEngine.theEngine.Repository.FetchVirtual(parent.getContextOutput())).Context);
     ConcatContext context = new ConcatContext(contexts);
     ContextContents contents = new ContextContents(context);
     BuildEngine.theEngine.Repository.StoreVirtual(this.getContextOutput(), new Fresh(), contents);
     return new VerbSyncWorker(workingDirectory, new Fresh());
 }
Esempio n. 2
0
        public override IVerbWorker getWorker(WorkingDirectory workingDirectory)
        {
            IEnumerable <IIncludePathContext> contexts = this.parents.Select(parent =>
                                                                             ((ContextContents)BuildEngine.theEngine.Repository.FetchVirtual(parent.getContextOutput())).Context);
            ConcatContext   context  = new ConcatContext(contexts);
            ContextContents contents = new ContextContents(context);

            BuildEngine.theEngine.Repository.StoreVirtual(this.getContextOutput(), new Fresh(), contents);
            return(new VerbSyncWorker(workingDirectory, new Fresh()));
        }
        public override IVerbWorker getWorker()
        {
            NuObjContents noc = BuildEngine.theEngine.getNuObjContents();
            IEnumerable <IIncludePathContext> contexts = _parents.Select(parent =>
                                                                         ((ContextContents)noc.openVirtual(parent.getContextOutput())).context);
            ConcatContext   context  = new ConcatContext(contexts);
            ContextContents contents = new ContextContents(context);

            BuildEngine.theEngine.getNuObjContents().storeVirtual(getContextOutput(), new Fresh(), contents);
            return(new VerbSyncWorker(new Fresh()));
        }