Example #1
0
        public BuildTask(IBuildState buildState, IValueFactory factory, Dictionary <string, Func <IValueTable, ICompiler> > compilerFactory)
        {
            this.buildState      = buildState;
            this.factory         = factory;
            this.compilerFactory = compilerFactory;

            // TODO: Not ideal to be registering this on the fly...
            if (!LifetimeManager.Has <IProcessManager>())
            {
                LifetimeManager.RegisterSingleton <IProcessManager, RuntimeProcessManager>();
            }
        }